im looking a powershell script for windows automation
like adding remote system to domain
create a local accont called scantool
add this local account to local adminstrator group
and set some complex password to this acount
now the main challnege i have scripts but most of times i hit with error like winrm/wmi and RCP errors any suggession on getting right script
It’s nearly impossible to recommend something meaningful without seeing your code. So please share your code and the according error messages completely - both formatted as code please. (If you have several errors it might be easier when you create for each code snippet and the according error message a seperate forum question )