How do I run a windows script from the command line?Commented on: 2 years ago
(July 23, 2012)
You are missing the letter r here: should be csc r ipt
You would run with command
C:\> cscipt hello.vbs
Just in case someone with no background in it just uses copy and paste
John Savill's PowerShell Master Class
Join John Savill for 9 hours of comprehensive PowerShell training. This course will start from the ground up, walking through the basics of PowerShell, how to create basic scripts, and building toward creating custom modules to achieve amazing results in your environment, in non-Microsoft environments, and in Azure.