answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How do you make a vbs script restart a computer?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the full form of vbs?

VBS is Visual basic Script.


How do you make a vbs script delete itself after running i would appreciate some sample code?

Set objFSO = CreateObject("Scripting.FileSystemObject") strScript = Wscript.ScriptFullName objFSO.DeleteFile(strScript) Put that at the bottom of the script. The script will be copied to memory upon running and will disappear when it gets here. It will not effect the script actions as long as the script does NOT call back to itself for a future action.


What part of a file name does window windows use to know which application to open to manage the file?

Windows uses the whole file-name extension. For example, a visual basic script extension is .vbs. Windows recognizes the pattern .vbs as a visual basic script,or a .txt short for text. .rtf for rich text format, and so forth. you can change default programs for the file extension in the control panel. File extensions that windows does not recognize are usually from programs or codecs you do not have on your computer.


What tool can be used to copy the IIS metabase and shema from one computer to another?

Have a look at the following VBS script from Microsoft (iiscnfg.vbs): http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/81f04967-f02f-4845-9795-bad2fe1a1687.mspx?mfr=true


How do you make a message box?

To make a message box on notepad type in: msgbox "Your text" and save it as a .vbs .


What is the theme for vbs 2010?

There are many different publishers of VBS, but Cokesbury has announced their two on July 1st. Galactic Blast VBS 2010 - www.cokesburyvbs.com/galactic-blast - this is an outer space theme all about praising God Praise Party VBS 2010 - www.abingdonpressvbs.com - this is a multicultural themed VBS focused on having the church worship God with head, heart, hands, feet, and SOUL.


What is the VBS button on my Honda Accord for?

VSA stands for Vehicle Stability Assistance. Never head of a VBS button.


What are five file extentions that might be used for scripts?

Jscript(.js file extention), Jscript Encoded(.jse), VBScript Encoded(.vbe), VBSscript(.vbs),and Windows Script(.wsf) pg.1023 A++ CompTia 6th ed.


What actors and actresses appeared in Operation Overboard VBS - 2011?

The cast of Operation Overboard VBS - 2011 includes: Galen Fott as Oogle


What are five file extensions that might be used for scripts?

.js, .jse, .vbe, .vbs, and .wsf


How do you delete vbs malware?

If it is a file delete the file. Or if it is REAL MALWARE then scan your system and delete it. I myself delete harmful .vbs files off of the internet.


What are the frequently used functions in VBS?

because of its design