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.

This code demonstrates how to create a new computer object on Active Directory without any plug-ins.
(0)
12/7/2009
Windows PowerShell
This code demonstrates how to create a new group object on Active Directory and add user ID's to the group without any plug-ins.
(1)
12/4/2009
Windows PowerShell
This code demonstrates how to search and retrieve User Object information from Active Directory without any plug-ins.
(1)
12/3/2009
Windows PowerShell
This code demonstrates how to retrieve group information from Active Directory for one group, without any plug-ins.
(1)
12/3/2009
Windows PowerShell
randomly draw names out of a virtual "hat".
(0)
12/2/2009
Windows PowerShell
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.
(1)
11/30/2009
Windows PowerShell
View More