a guest Oct 18th, 2018 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Start-Process powershell.exe -ArgumentList '-Command "$cred = New-Object System.Management.Au
- tomation.PsCredential("vdi_srv", (ConvertTo-SecureString "afv548@ed" -AsPlainText -Force)); Add-Computer -OUPath "OU=VD
- I,OU=Active,OU=PCs,OU=DR,OU=MRF_SOUTH,OU=UF,DC=UF,DC=RT,DC=RU" -DomainName uf.rt.ru -Credential $cred -restart -force' -verb runAs
RAW Paste Data