I need to reboot my computer after i install the application. So need to know as how to call a reboot.vbs from powershell script, after application installation is done.

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

2

Good grief...

http://www.computerperformance.co.uk/powershell/powershell_restart_computer.htm

 

Answered 10/29/2012 by: VBScab
Red Belt

Please log in to comment

Answers

0

Lol, for the record

#powershell 
$args = "-count 5 -server hostname" 
$command = cmd /C cscript c:\windows\myvbscript.vbs $args 
invoke-item $command 
 

Answered 11/30/2012 by: jdornan
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity