Hello, need help to link the GPO to the cross domain, experiencing issue using the below script to link the GPO to cross domain.
cls
$gponame="testgpo"
$oulist= Get-Content -Path "c:\oulist.csv"
foreach ($ou in $oulist) {New-GPLink -Name $gponame -Domain abc.com -Server "D01.abc.com" -Target $ou}
Error : handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))
link.ps1:4 char:27




