Members Login
Username 
 
Password 
    Remember Me  
 

Topic: Automated Script to shutdown ......

Page 1 of 1  sorted by
Wide (rest of width)
Narrow (200px)
Wscript.Echo"Beam mi up" & stain.CName
Status: Offline
Posts: 4488
Date:

Automated Script to shutdown ......

Here's a script to shutdown yours or other ppls computer, if you know wah yu doing you can build a program an embedd this script in it to shutdown their computer or more evil stuff398...anyway naa get ina dat.

This will let you shutdown your computer, so be careful....replace strcomputer ="." with the name of a computer on yu network or the name of the pc yu waa shutdown.e.g..strcomputer ="mzja"..works on servers and windows pc's.



strComputer = "."
Set objWMIService = GetObject_
    ("winmgmts:{impersonationLevel=impersonate,(Shutdown)}\\" & _
        strComputer & "
oot\cimv2")

Set colOperatingSystems = objWMIService.ExecQuery _
    ("Select * from Win32_OperatingSystem")
 
For Each objOperatingSystem in colOperatingSystems
    objOperatingSystem.Win32Shutdown(1)
Next

__________________
****************Bavarian WiseWords*****************
Lesson1
Put Jesus Christ first!!


Lesson2
Success comes not from just what you know but who you know.




۞ Shampoo ۞
Status: Offline
Posts: 20869
Date:
hmm.gif
NEED A HACKIN SECTION


__________________


species.com
mzchatstudy.com
Shampoo
23ti5ah.gif

Teacha
Status: Offline
Posts: 4475
Date:
dis luk hard,,na try dis

__________________
Its better to Have plans and Schemes than Hopes and Dreams.........Hard Work is the Key to Sucsess..doah
GAZA MI SEY

avrh4m.gif


Page 1 of 1  sorted by
Quick Reply

Please log in to post quick replies.