< # .SYNOPSIS This script gets and displays the description of a WMI Class. .DESCRIPTION This script takes a WMI Class name as a parameter. The script then gets the class 's description from the CIM repository...
< # .SYNOPSIS Shows use of GetCurrentDomain to return information about the domain .DESCRIPTION Uses system.directoryservices.activedirectory.domain and GetCurrentDomain to return domain information ...
# Requires -Version 2.0 # Get-IPAddress.ps1 # Parses an address, returns a System.NET.IPAddress if OK # Thomas Lee - tfl@psp.co.uk $strings = " 10.1.1.100 " , " 10.1 " , " fooey " foreach ( $string in $strings ){ try { $address = [System.Net.IPAddress] :: parse( $string...