Import-module ActiveDirectoryGet-ADUser -Filter * | Set-ADUser -Clear scriptPathHow to SetGet-ADUser -Filter * -SearchBase “OU=Marketing,DC=martinsblog,DC=local” | Set-ADUser –scriptPath “\\dc01\netlogon\myscript.bat”
Tag: set
There Was a Problem Communicating with the Citrix Delegated Administration Service
I was swapping DB’s on a Citrix cluster , I shutdown the DB’s per Add-PSSnapin Citrix*Set-LogSite -State DisabledSet-LogDBConnection -DataStore Logging -DBConnection $nullSet-MonitorDBConnection -DataStore Monitor -DBConnection $nullSet-MonitorDBConnection -DBConnection $nullSet-AcctDBConnection […]