PowerShell Logo Small

New-WSManInstance



This is the built-in help made by Microsoft for the command 'New-WSManInstance', in PowerShell version 2 - as retrieved from Windows version 'Microsoft® Windows Vista™ Ultimate ' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Creates a new instance of a management resource.

SYNTAX


New-WSManInstance [-ApplicationName <string>] [-ComputerName <string>] [-Credential <PSCredential>] [-Port <int>] [-UseSSL] [-SelectorSet] <hasht
able> -ResourceURI <Uri> [-AuthenticationMechanism <AuthenticationMechanism>] [-SessionOption <hashtable>] [-ValueSet <hashtable>] [<CommonParame
ters>]
New-WSManInstance [-ConnectionURI <Uri>] [-SelectorSet] <hashtable> -ResourceURI <Uri> [-AuthenticationMechanism <AuthenticationMechanism>] [-Ses
sionOption <hashtable>] [-ValueSet <hashtable>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


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.



<

RELATED LINKS

Online version: http://go.microsoft.com/fwlink/?LinkId=141448
Connect-WSMan
Disable-WSManCredSSP
Disconnect-WSMan
Enable-WSManCredSSP
Get-WSManCredSSP
Get-WSManInstance
Invoke-WSManAction
New-WSManSessionOption
Remove-WSManInstance
Set-WSManInstance
Set-WSManQuickConfig
Test-WSMan

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

C:\PS>New-WSManInstance winrm/config/Listener -SelectorSet @{Transport=HTTPS} -ValueSet @{Hostname="HOST";CertificateThumbprint="XXXXXXXXXX"}



Description
-----------
This command creates an instance of a WS-Management HTTPS listener on all IP addresses.