PowerShell Logo Small

Remove-WSManInstance



This is the built-in help made by Microsoft for the command 'Remove-WSManInstance', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' 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

Deletes a management resource instance.

SYNTAX


Remove-WSManInstance [-ResourceURI] <Uri> [-SelectorSet] <Hashtable> [-ApplicationName <String>] [-Authentication <AuthenticationMechanism>] [-CertificateThumbprint
<String>] [-ComputerName <String>] [-Credential <PSCredential>] [-OptionSet <Hashtable>] [-Port <Int32>] [-SessionOption <SessionOption>] [-UseSSL] [<CommonParameters>]
Remove-WSManInstance [-ResourceURI] <Uri> [-SelectorSet] <Hashtable> [-Authentication <AuthenticationMechanism>] [-CertificateThumbprint <String>] [-ConnectionURI <Uri>]
[-Credential <PSCredential>] [-OptionSet <Hashtable>] [-SessionOption <SessionOption>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-WSManInstance deletes an instance of a management resource that is specified in the ResourceURI and SelectorSet parameters.


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



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=294043
Remove-WmiObject
Connect-WSMan
Disable-WSManCredSSP
Disconnect-WSMan
Enable-WSManCredSSP
Get-WSManCredSSP
Get-WSManInstance
Invoke-WSManAction
New-WSManInstance
New-WSManSessionOption
Set-WSManInstance
Set-WSManQuickConfig
Test-WSMan

REMARKS

<

Examples


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

PS C:\>Remove-WSManInstance winrm/config/Listener -SelectorSet Address=test.fabrikam.com;Transport=http



Deletes the WS-Management HTTP listener on a computer.