diff --git a/Examples/Example-40-ShowGPO05.ps1 b/Examples/Example-40-ShowGPO05.ps1 new file mode 100644 index 0000000..2586f04 --- /dev/null +++ b/Examples/Example-40-ShowGPO05.ps1 @@ -0,0 +1,7 @@ +Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force + +$GPOS = Get-GPOZaurr -GPOPath 'C:\Support\GitHub\GpoZaurr\Ignore\Empty' -ExcludeGroupPolicies @( + Skip-GroupPolicy -Name 'de14_usr_std' + Skip-GroupPolicy -Name 'de14_usr_std' -DomaiName 'ad.evotec.xyz' +) +$GPOS | Format-Table -AutoSize * \ No newline at end of file diff --git a/Examples/Example-46-PermissionRepair.ps1 b/Examples/Example-46-PermissionRepair.ps1 new file mode 100644 index 0000000..52979f5 --- /dev/null +++ b/Examples/Example-46-PermissionRepair.ps1 @@ -0,0 +1,3 @@ +Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force + +Repair-GPOZaurrPermission -Verbose -WhatIf -Type Administrative \ No newline at end of file