Script Center > Gallery
TechNet Script Center logo

Welcome to the TechNet Script Center Gallery!

Each contribution is licensed to you under a License Agreement by its owner, not Microsoft. Microsoft does not guarantee the contribution or purport to grant rights to it.

The TechNet Script Center Gallery contains sample scripts that are designed to run on Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, and Windows 2000.

New to scripting? Take a look at the Getting Started page to learn more about how these scripts work and how to write your own scripts.

Script to take input from text file containing computer names and set them to obtain DNS settings from the DHCP server.
(0)
12/1/2009
Windows PowerShell
Adds a VMware VirtualCenter Server to VMM in secure mode and changes the status of the ESX Server hosts from OK (Limited) to OK.
(1)
11/30/2009
Windows PowerShell
The following script adds a VMware VirtualCenter Server to System Center Virtual Machine Manager (VMM) in secure mode.
(0)
11/30/2009
Windows PowerShell
AddESXHost.ps1 (Microsoft)
The following script is the complete script for adding a VMware ESX Server host and changing its status from OK (Limited) to OK.
(0)
11/30/2009
Windows PowerShell
Uses quick migration to move all running virtual machines off a host in a cluster, and then removes the host from service. The script then returns the host to service and performs the same tasks on the other hosts in the cluster.
(0)
11/30/2009
Windows PowerShell
The following script adds a host cluster to System Center Virtual Machine Manager (VMM).
(0)
11/30/2009
Windows PowerShell
The following script adds a host cluster and creates an HAVM. Then the script migrates the HAVM to the highest rated host, stops the HAVM to increase its memory, and then restarts the HAVM. The HAVM is then deleted, and the host cluster is removed from VMM.
(0)
11/30/2009
Windows PowerShell
You can use parameters with the Set-VM cmdlet to match the CPU settings for a virtual machine to the actual processor hardware on a host during placement or migration.
(0)
11/30/2009
Windows PowerShell
You can use rapid provisioning to recover a virtual machine after a Hyper-V host fails and cannot be recovered.
(0)
11/30/2009
Windows PowerShell
You can use this script to create a virtual machine from a template that contains an embedded answer file and Integration Components.
(0)
11/30/2009
Windows PowerShell
View More