From 513179fd03149b793070cebef51997405ce40bcd Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Mon, 28 Dec 2020 10:04:15 +0100 Subject: [PATCH] Invoke-GPOZaurrPermission improvement --- Public/Invoke-GPOZaurrPermission.ps1 | 2 +- README.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Public/Invoke-GPOZaurrPermission.ps1 b/Public/Invoke-GPOZaurrPermission.ps1 index 5a6c291..91386b1 100644 --- a/Public/Invoke-GPOZaurrPermission.ps1 +++ b/Public/Invoke-GPOZaurrPermission.ps1 @@ -21,7 +21,7 @@ [parameter(ParameterSetName = 'Level', Mandatory)][int] $Limit, # ParameterSet4 - [parameter(ParameterSetName = 'Linked', Mandatory)][validateset('Root', 'DomainControllers', 'Site', 'Other')][string] $Linked, + [parameter(ParameterSetName = 'Linked', Mandatory)][validateset('Root', 'DomainControllers', 'Site', 'OrganizationalUnit')][string] $Linked, # ParameterSet5 [parameter(ParameterSetName = 'ADObject', ValueFromPipeline, ValueFromPipelineByPropertyName, Mandatory)][Microsoft.ActiveDirectory.Management.ADObject[]] $ADObject, diff --git a/README.md b/README.md index c8291d7..3c89bf3 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,8 @@ That's it. Whenever there's a new version, you run the command, and you can enjo - [x] Renamed Linked validate set from `Other` to `OrganizationalUnit` - [x] Improved `Get-GPOZaurrLinkSummary` - [x] Improved/BugFix `Get-GPOZaurr` to properly detect linked GPOs in sites/cross-domain + - [x] Improved `Invoke-GPOZaurrPermission` + - [x] Renamed Linked validate set from `Other` to `OrganizationalUnit` - 0.0.101 - 23.12.2020 - [x] Improved `Get-GPOZaurrBroken` - [x] It now detects `ObjectClass Issue`