mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-08-31 12:47:59 +00:00
update
This commit is contained in:
@@ -4,9 +4,9 @@
|
|||||||
[ValidateSet('All', 'Netlogon', 'Sysvol')][string[]] $Type = 'All',
|
[ValidateSet('All', 'Netlogon', 'Sysvol')][string[]] $Type = 'All',
|
||||||
[ValidateSet('None', 'MACTripleDES', 'MD5', 'RIPEMD160', 'SHA1', 'SHA256', 'SHA384', 'SHA512')][string] $HashAlgorithm = 'None',
|
[ValidateSet('None', 'MACTripleDES', 'MD5', 'RIPEMD160', 'SHA1', 'SHA256', 'SHA384', 'SHA512')][string] $HashAlgorithm = 'None',
|
||||||
[switch] $Signature,
|
[switch] $Signature,
|
||||||
[switch] $Limited,
|
|
||||||
[switch] $AsHashTable,
|
[switch] $AsHashTable,
|
||||||
[switch] $Extended,
|
[switch] $Extended,
|
||||||
|
[switch] $ExtendedMetaData,
|
||||||
[alias('ForestName')][string] $Forest,
|
[alias('ForestName')][string] $Forest,
|
||||||
[string[]] $ExcludeDomains,
|
[string[]] $ExcludeDomains,
|
||||||
[alias('Domain', 'Domains')][string[]] $IncludeDomains,
|
[alias('Domain', 'Domains')][string[]] $IncludeDomains,
|
||||||
@@ -265,7 +265,7 @@
|
|||||||
$SuggestedAction = 'Requires verification'
|
$SuggestedAction = 'Requires verification'
|
||||||
$SuggestedActionComment = 'Not able to auto asses'
|
$SuggestedActionComment = 'Not able to auto asses'
|
||||||
}
|
}
|
||||||
if ($Limited) {
|
if (-not $ExtendedMetaData) {
|
||||||
$MetaData = [ordered] @{
|
$MetaData = [ordered] @{
|
||||||
LocationType = $FileType.Name
|
LocationType = $FileType.Name
|
||||||
FullName = $_.FullName
|
FullName = $_.FullName
|
||||||
@@ -282,6 +282,10 @@
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$MetaData = Get-FileMetaData -File $_ -AsHashTable
|
$MetaData = Get-FileMetaData -File $_ -AsHashTable
|
||||||
|
$MetaData['SuggestedAction'] = $SuggestedAction
|
||||||
|
$MetaData['SuggestedActionComment'] = $SuggestedActionComment
|
||||||
|
$MetaData['BelongsToGPO'] = $BelongsToGPO
|
||||||
|
$MetaData['GPODisplayName'] = $GPODisplayName
|
||||||
}
|
}
|
||||||
if ($Signature) {
|
if ($Signature) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -60,6 +60,8 @@ That's it. Whenever there's a new version, you run the command, and you can enjo
|
|||||||
- Improved `Get-GPOZaurrPermissionSummary` to include `Get-GPOZaurrPermissionRoot` custom permissions
|
- Improved `Get-GPOZaurrPermissionSummary` to include `Get-GPOZaurrPermissionRoot` custom permissions
|
||||||
- Updated `Remove-GPOZaurrPermission`
|
- Updated `Remove-GPOZaurrPermission`
|
||||||
- Updated `Get-GpoZaurrPermission`
|
- Updated `Get-GpoZaurrPermission`
|
||||||
|
- Updated `Get-GPOZaurrFiles` to better handle access issue
|
||||||
|
- Reversed parameters `Get-GPOZaurrFiles` from `Limited` to `ExtendedMetaData` and fixed missing columns
|
||||||
- 0.0.61 - 31.08.2020
|
- 0.0.61 - 31.08.2020
|
||||||
- Improvement to `Get-GPOZaurrPermissionSummary`
|
- Improvement to `Get-GPOZaurrPermissionSummary`
|
||||||
- Fixes to `ConvertFrom-CSExtension`
|
- Fixes to `ConvertFrom-CSExtension`
|
||||||
|
|||||||
Reference in New Issue
Block a user