diff --git a/Import-TIER-GPO.ps1 b/Import-TIER-GPO.ps1 index 5ec5847..f47c948 100644 --- a/Import-TIER-GPO.ps1 +++ b/Import-TIER-GPO.ps1 @@ -43,12 +43,6 @@ Param [String] $DownloadURLGPOBackup = 'https://git.totalservice.cz/public/AD-TIER/raw/branch/main/GPO_TIER.zip' - - - - - - ) Begin @@ -230,9 +224,6 @@ Process ) } - # DEBUG - $ADGroupMapping - #Prepare GPO #Reference https://gallery.technet.microsoft.com/Migrate-Group-Policy-2b5067d8#content #Change variables in the GPO migration table to suit environment by recursing through the migration table and then changing the values to suit the current environment. @@ -282,10 +273,6 @@ Process if ($GPOName -eq '') {$GPOName = "SEC-Admin-Workstations"} Import-GPO -CreateIfNeeded -path "$WorkFolderPath" -BackupGpoName 'SEC-Admin-Workstations' -TargetName $GPOName -MigrationTable "$WorkFolderPath\SEC-Admin-Workstations.migtable" - - # TODO - #- doplnit upozornění, aby všechny GPO politiky zkontrolovali a zvážili dopad na infastrukutru než je nalinkuji - } End {