Free Online Publication
Windows Server 2008 R2 Remote Desktop Services
From Beginner to Expert Level
Content
The Book
... Table of Content
... Preface
... About This Book
Part I –
A Beginner's Guide to Remote Desktop Services
1 Overview and History
2 Installation
3 Licensing
4 Configuration
5 Client Software
6 Application Installation
7 System Administration
8 Network Planning
9 Printing
10 User Environment
Part II –
An Expert's Guide to Remote Desktop Services
11 Virtualization
12 RDS Internals
13 Remoting Protocol Details
14 Security
15 Registry Settings
16 Server Sizing
17 Resource Management
18 Testing and Quality Assurance
19 RDS Scripting
20 RDS for Developers
Author's Profile
... About
... Benny's Biography
... Presentations 2009, 2008, 2007, 2006, 2005, 2004 and earlier
Awards

 


Microsoft Windows Server 2008 Terminal Services

15. Scripting

Posted by Benny Tritsch on September 16, 2008

[Scripting] [Command Shell] [ACS] [WSH and WMI] [PowerShell]

Back Next

 

This chapter deals with terminal server scripting. It includes not only the default command shells but also different extension options. You will learn about the following.

  • Details of shell commands and scripts.

  • The secrets behind application compatibility scripts.

  • How to use Windows Script Host and Windows Management Instrumentation on terminal servers.

  • What can you do with PowerShell.

Experienced Microsoft Windows Server administrators might find information and techniques here that they already know. Scripting always used to be an important concept for managing large Microsoft Windows environments and was thus a well-established mechanism. The technology was improved over the last years and was well-documented in many help files and publications. For Windows Server 2008, more scripting options are available then ever before. This chapter summarizes the most pertinent information, always with a focus on terminal server operation.

IMPORTANT: Scripts can be a very powerful administration mechanism for terminal servers. However, scripts require a high degree of maintenance when the newest versions need to be installed on each terminal server in a large farm. Therefore, when planning scripts, bear in mind that the scripts might need to be started from a network share, as well.

 

Back Next

 

Read in this chapter...
15 Scripting
15.1 Controlling Terminal Services from the Standard Command Shell
15.2 Application Compatibility Scripts
15.3 Windows Script Host and Windows Management Instrumentation
15.4 Microsoft PowerShell