Files
GPOZaurr/Examples/Example-26-Files.ps1
T
Przemyslaw Klys 570b1cbc83 Added Find-GPO WIP
2020-06-27 12:45:23 +02:00

10 lines
349 B
PowerShell

Clear-Host
Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force
$Output = Get-GPOZaurrSysvol | ForEach-Object {
$Path = $_.Path
Get-ChildItem -Path $Path -ErrorAction SilentlyContinue -Recurse -ErrorVariable err -File | ForEach-Object {
Get-FileMetaData -File $_ -Signature -HashAlgorithm 'SHA256'
}
}
$Output | Format-Table