Microsoft Office Tutorials and References
In Depth Information
Background of command-line and scripting in Windows
Background of command line and scripting in
Windows
Microsoft operating systems and applications have historically been managed from
a GUI. In recent years this has started to change with the introduction of PowerShell.
In the past, PowerShell, Microsoft operating systems, and applications all came with
command-line tools. These tools are command.com or cmd.exe . These tools supported
some basic commands and scripts that were made using batch files. Batch files are
simply executable text files that contain a series of commands. IT professionals
would use batch files to automate routine tasks. These tools are limited and IT
professionals have had to resort back to the available GUI tools.
Microsoft has attempted to provide better command-line tools over the years. These
attempts have been Windows Script Host and cscript.exe . The Windows Script
Host tool allowed administrators to use other scripting languages such as JScript
and VBScript but those script languages are geared more towards programmers.
cscript.exe is a command-line version of Windows Script Host that can be used to
launch existing scripts. While these tools have been good improvements and are a
step forward in regards to command-line tools in Windows environments, they were
not the answer. The first PowerShell was released in 2006. PowerShell v2.0 was then
released in 2008. Today PowerShell is an integral part of many Microsoft applications
and operating systems. Certain tasks that need to be performed in applications can
only be done from PowerShell and not the GUI. That is one of the reasons, as an IT
Professional, it is extremely important to take the time to learn PowerShell. Not only
does it come standard with Microsoft operating systems but it is a part of Microsoft's
applications. DPM is one of these many applications that have PowerShell integrated
into it. PowerShell is included not only with DPM but with these other Microsoft
applications on the following chart:
Application
Version
Exchange Server
2007/2010
Windows Server
2008
Microsoft SQL Server
2008
System Center Operations Manager
2007
System Center Virtual Machine Manager
2007
System Center Data Protection Manager
2007/2010
System Center Essentials
2010
Windows Compute Cluster Server
2007
Internet Information Services
7.0
Windows 7 Troubleshooting Center
6.1
Microsoft Deployment Toolkit
2010
Search JabSto ::




Custom Search