O'Reilly logo

Windows Server® 2008 Hyper-V™ Resource Kit by Janique Carbone Robert Larson and Microsoft Windows Virtualization Team

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the Scripts

Scripts on the companion media must be run using Cscript.exe or Windows PowerShell as the script host. You can do this in several ways:

  • Type cscript script_name.vbs <parameters> at a command prompt. For a list of available parameters, type cscript script_name.vbs /? at a command prompt, or open the script using Notepad and read the comments in the script.

  • Configure the default script host on the local computer to Cscript.exe so that you can run scripts by typing script_name.vbs <parameters> at a command prompt. To set the default script host to Cscript.exe, type cscript //h:cscript //nologo //s at a command prompt.

  • For Windows PowerShell 1.0, open a PowerShell command window. To do this from the Run box, click Start, click Run, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required