From e971c57d2940356e34f97d322b84a21ff5cc3cde Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Sat, 5 Dec 2020 00:11:48 +0100 Subject: [PATCH] added examples --- Examples/Example-43-OptimizeGPO.ps1 | 1 + Examples/Example-44-StatusChange.ps1 | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 Examples/Example-44-StatusChange.ps1 diff --git a/Examples/Example-43-OptimizeGPO.ps1 b/Examples/Example-43-OptimizeGPO.ps1 index 97f78e0..c4691b5 100644 --- a/Examples/Example-43-OptimizeGPO.ps1 +++ b/Examples/Example-43-OptimizeGPO.ps1 @@ -1,2 +1,3 @@ Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force +Optimize-GPOZaurr -WhatIf -Verbose -LimitProcessing 2 \ No newline at end of file diff --git a/Examples/Example-44-StatusChange.ps1 b/Examples/Example-44-StatusChange.ps1 new file mode 100644 index 0000000..74cf465 --- /dev/null +++ b/Examples/Example-44-StatusChange.ps1 @@ -0,0 +1,3 @@ +Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force + +Set-GPOZaurrStatus -Name 'TEST | Empty GPO - AD.EVOTEC.PL CrossDomain GPO' -Status AllSettingsEnabled -Verbose \ No newline at end of file