WTStek.com Windows Terminal Server, Virtualization, Application Delivery, Windows Software Development, Market Analysis, Training Classes and more...
Navigation

The Book

  Table of Content
  Preface
  About This Book
  Book Index

Part I A Beginner's Guide to Terminal Services

1 Terminal Services Overview
2 System Installation
3 Licensing
4 System Configuration
5 User Access and Client Software
6 Application Installation
7 System Administration and Operation
8 Server Sizing and Scalability

Part II – An Expert's Guide to Terminal Services

9 Terminal Server Internals
10 Network Planning and High Availability
11 User Environment
12 Access and Security
13 Printing
14 Registry
15 Scripting
16 Web Technologies

Part III – Terminal Services Complementary Concepts

17 Third Party Extension Products
18 Desktop and Application Virtualization
19 Deployment Automation
20 Resource and Security Management
21 Testing and Quality Assurance
22 Optimization and Performance Tuning
23 Project Methodology
24 Terminal Services API

My Profile

... About this Web Site
... Benny's Biography
... Presentations 2008, 2007, 2006, 2005, 2004 and earlier

 


Awards

 

Microsoft MVP

 

CTP

 

Provision Networks / Quest VIP

 

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