-
< # .SYNOPSIS This script displays the size of a folder .DESCRIPTION This script is a rewrite of an MSDN sample. It uses System.IO namespace to determine the size of a folder and...
-
< # .SYNOPSIS This script displays the versions of SQL Server running on a system .DESCRIPTION This script uses WMI to get the SQLServiceAdvancedProperty class from the ComputerManagement namespace to print out...
-
< # .SYNOPSIS This script uses ADSI to add a new OU to a domain. .DESCRIPTION This script creates a pointer to the domain, then uses the Create method to create a new OU under the root...
-
< # .SYNOPSIS This script checks of a particular date in the past was a Thurday. .DESCRIPTION This script creates a DateTime object set for 1st May, 2003. The script then check to see if that day is a Thursday...
-
< # .SYNOPSIS This script demonstrates the use of System.Environment .DESCRIPTION This script Uses a variety of the members of System.Environment and is a re-write of a MSDN Sample Script .NOTES ...
-
< # .SYNOPSIS This script demonstrates the confirmance level enum. .DESCRIPTION This script displays the values form the conformancelevel enum and checks it against a value. .NOTES ...
-
< # .SYNOPSIS This script gets and displays the cookies returned from a site. .DESCRIPTION This script calls System.Net.WebRequest to get a page. in the response there may be cookies returned which this script...
-
< # .SYNOPSIS This script reads a simple XML file and prints the results .DESCRIPTION This script is a re-write of an XML C # MSDN Sample. .NOTES File Name : get-xmlfilecontents.ps1 ...
-
< # .SYNOPSIS Demonstrates use of the System.Diagnostics.Stopwatch .NET Class .DESCRIPTION This script is a community content MSDN sample,using PowerShell .NOTES ...
-
< # .SYNOPSIS This script displays the use of the Reset method in a StopWatch object. .DESCRIPTION This script calls the StartNew static method to create and start a new stopwatch object, and displays the...
-
If you'd like to customize your Windows PowerShell ISE be prepared for some breaking changes in Windows PowerShell ISE that comes with Windows 7 RC (May I call it Windows PowerShell ISE RC?). In Windows PowerShell ISE CTP3 $psISE, custom host variable, has following properties: PS C:\> $psISE...
-
< # .SYNOPSIS Gets and displays properties of a stopwatch .DESCRIPTION This script, written as an MSDN Sample, creates and starts a stop watch. The script stops the stopwatch, and displays the properties. To some...
-
< # .SYNOPSIS This script uses WMI to print a test page all printers on this system .DESCRIPTION This script is an MSDN sample,using PowerShell. It first gets all the printrs installed...
-
< # .SYNOPSIS Displys number of days in a particular month. .DESCRIPTION This scrips uses System.DateTime to determine, then display, the numbe of days in some months. .NOTES ...
-
< # .SYNOPSIS Displays summary of machine.config .DESCRIPTION This script is a re-write of an MSDN sample which fetchs the machine.config file, prints out file path, and key sections. Also shows how many sections ...