Hi guys, So basicly i'm trying to run this script on multiple pc's (like 150 pc's):
(gwmi DCIM_BIOSService -namespace root\dcim\sysman).SetBIOSAttributes($null,$null,"Wake-On-LAN","4") (gwmi DCIM_BIOSService -namespace root\dcim\sysman).SetBIOSAttributes($null,$null,"USB","3") (gwmi DCIM_BIOSService -namespace root\dcim\sysman).SetBIOSAttributes($null,$null,"AdminPwd","","*******") (gwmi DCIM_BIOSService -namespace root\dcim\sysman).SetBIOSAttributes($null,$null,"AdminPwd","*****","****")
But i need it to read a .txt file to get the computernames/ip's and execute the script on them remotly