From c80063c4b39776f1bc36e7bd91d0028e50c9c6ab Mon Sep 17 00:00:00 2001 From: ZeArioch <16936254+ZeArioch@users.noreply.github.com> Date: Mon, 28 Sep 2020 15:55:41 +0200 Subject: [PATCH] add migration table target to RDP GPO import script --- Vagrant/scripts/configure-rdp-user-gpo.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrant/scripts/configure-rdp-user-gpo.ps1 b/Vagrant/scripts/configure-rdp-user-gpo.ps1 index 1fbea02..a51a203 100644 --- a/Vagrant/scripts/configure-rdp-user-gpo.ps1 +++ b/Vagrant/scripts/configure-rdp-user-gpo.ps1 @@ -1,6 +1,6 @@ # Purpose: Install the GPO that allows windomain\vagrant to RDP Write-Host "$('[{0:HH:mm}]' -f (Get-Date)) Importing the GPO to allow windomain/vagrant to RDP..." -Import-GPO -BackupGpoName 'Allow Domain Users RDP' -Path "c:\vagrant\resources\GPO\rdp_users" -TargetName 'Allow Domain Users RDP' -CreateIfNeeded +Import-GPO -BackupGpoName 'Allow Domain Users RDP' -Path "c:\vagrant\resources\GPO\rdp_users" -MigrationTable "c:\vagrant\resources\GPO\rdp_users\rdp_users.migtable" -TargetName 'Allow Domain Users RDP' -CreateIfNeeded $OU = "ou=Workstations,dc=windomain,dc=local" $gPLinks = $null