Typo
This commit is contained in:
@@ -43,12 +43,6 @@ Param
|
|||||||
[String]
|
[String]
|
||||||
$DownloadURLGPOBackup = 'https://git.totalservice.cz/public/AD-TIER/raw/branch/main/GPO_TIER.zip'
|
$DownloadURLGPOBackup = 'https://git.totalservice.cz/public/AD-TIER/raw/branch/main/GPO_TIER.zip'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
Begin
|
Begin
|
||||||
@@ -230,9 +224,6 @@ Process
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
# DEBUG
|
|
||||||
$ADGroupMapping
|
|
||||||
|
|
||||||
#Prepare GPO
|
#Prepare GPO
|
||||||
#Reference https://gallery.technet.microsoft.com/Migrate-Group-Policy-2b5067d8#content
|
#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.
|
#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"}
|
if ($GPOName -eq '') {$GPOName = "SEC-Admin-Workstations"}
|
||||||
Import-GPO -CreateIfNeeded -path "$WorkFolderPath" -BackupGpoName 'SEC-Admin-Workstations' -TargetName $GPOName -MigrationTable "$WorkFolderPath\SEC-Admin-Workstations.migtable"
|
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
|
End
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user