How do I run a windows script from the command line?Commented on: 4 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
PowerShell is the definitive command line interface and scripting solution for Windows, Hyper-V, System Center, Microsoft solutions and beyond. In this Master Class, we will start from the ground up, walking you through the basics of PowerShell, how to create basic scripts and building towards creating custom modules to achieve amazing results in your environment, in non-Microsoft environments, and in Azure.