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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -