Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » New-WSManInstance

New-WSManInstance - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »


Short description
Creates a new instance of a management resource.

New-WSManInstance [-ResourceURI] <Uri> [-SelectorSet] <Hashtable> [-ApplicationName <String>] [-Authentication <Authent
icationMechanism>] [-CertificateThumbprint <String>] [-ComputerName <String>] [-Credential <PSCredential>] [-FilePath <
String>] [-OptionSet <Hashtable>] [-Port <Int32>] [-SessionOption <SessionOption>] [-UseSSL [<SwitchParameter>]] [-Valu
eSet <Hashtable>] [<CommonParameters>]
New-WSManInstance [-ResourceURI] <Uri> [-SelectorSet] <Hashtable> [-Authentication <AuthenticationMechanism>] [-Certifi
cateThumbprint <String>] [-ConnectionURI <Uri>] [-Credential <PSCredential>] [-FilePath <String>] [-OptionSet <Hashtabl
e>] [-SessionOption <SessionOption>] [-ValueSet <Hashtable>] [<CommonParameters>]

The New-WSManInstance cmdlet creates a new instance of a management resource. It uses a resource URI and a value set or
 input file to create the new instance of the management resource.

This cmdlet uses the WinRM connection/transport layer to create the management resource instance.