From 2fa9b202bc202b905524ef8573611659c841e2ec Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Mon, 28 Dec 2020 11:42:30 +0100 Subject: [PATCH] Example updates --- Examples/Example-14-ListingGPOsPerOU2.ps1 | 2 +- Examples/Example-14-ListingGPOsPerSite1.ps1 | 3 +++ ...stingGPOsPerSite.ps1 => Example-14-ListingGPOsPerSite2.ps1} | 0 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 Examples/Example-14-ListingGPOsPerSite1.ps1 rename Examples/{Example-14-ListingGPOsPerSite.ps1 => Example-14-ListingGPOsPerSite2.ps1} (100%) diff --git a/Examples/Example-14-ListingGPOsPerOU2.ps1 b/Examples/Example-14-ListingGPOsPerOU2.ps1 index bf00eeb..a9af1a6 100644 --- a/Examples/Example-14-ListingGPOsPerOU2.ps1 +++ b/Examples/Example-14-ListingGPOsPerOU2.ps1 @@ -2,6 +2,6 @@ Get-GPOZaurrLink -SearchBase 'OU=Domain Controllers,DC=ad,DC=evotec,DC=xyz' | Format-Table -AutoSize -Get-GPOZaurrLink -SearchBase 'OU=Computers,OU=Production,DC=ad,DC=evotec,DC=xyz' | Format-Table -AutoSize +Get-GPOZaurrLink -SearchBase 'OU=Accounts,OU=Production,DC=ad,DC=evotec,DC=xyz' | Format-Table -AutoSize Get-GPOZaurrLink -SearchBase 'DC=ad,DC=evotec,DC=xyz' -SearchScope Base | Format-Table -AutoSize \ No newline at end of file diff --git a/Examples/Example-14-ListingGPOsPerSite1.ps1 b/Examples/Example-14-ListingGPOsPerSite1.ps1 new file mode 100644 index 0000000..e1ef585 --- /dev/null +++ b/Examples/Example-14-ListingGPOsPerSite1.ps1 @@ -0,0 +1,3 @@ +Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force + +Get-GPOZaurrLink -Site 'Katowice-1','Katowice-2' | Format-Table -AutoSize * \ No newline at end of file diff --git a/Examples/Example-14-ListingGPOsPerSite.ps1 b/Examples/Example-14-ListingGPOsPerSite2.ps1 similarity index 100% rename from Examples/Example-14-ListingGPOsPerSite.ps1 rename to Examples/Example-14-ListingGPOsPerSite2.ps1