powershell - Running script to many computers at once or apply it to a particular OU computers -
copy-item -path '\\dell\cctk' -destination c:\cctk -recurse invoke-command -scriptblock {c:\cctk\cctk --controlwlanradio=enable}
how can remotely run above script many computers @ once or apply particular computer ou
if remoting enabled on machines try execute command possible pass -computername parameter invoke-command, command. computername takes multiple values.
invoke-command -computername computer1,computer2,etc -scriptblock {c:\cctk\cctk --controlwlanradio=enable}
Comments
Post a Comment