Jump to content

Recommended Posts

Posted

Hi there,

Can anyone tell me why when i when i delete the screensavers from my main cmd.script they are still accesible????? i know the code works cus i cut and pasted it into another script and ran it manually and it removed them, shortly followed by a WFP message, if anyone can shed any light on this matter i would be very greatfull..

Lee.........


Posted

Thanks for that Aarron, i will try it later, my whole .sif file needs sorting first and then my scripts, keep up the good work with the site....

Lee....

P.s. any reason why the psshutdown dont shutdown????

Posted

Set OpSysSet = GetObject("winmgmts:{(Shutdown)}//./root/cimv2").ExecQuery("select *from Win32_OperatingSystem where Primary=true")

for each OpSys in OpSysSet
   OpSys.ShutDown()
Next

AaronXP posted this is a different post this is the script to shutdown the computer when finshed

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...