RemovePSSnapinCommand Class

The Remove-PSSession cmdlet class that is implemented by Windows PowerShell. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.


Namespace: Microsoft.PowerShell.Commands
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As RemovePSSnapinCommand

[OutputTypeAttribute(System.Compiler.TypeNode[])] 
[CmdletAttribute("Remove", "PSSnapin", SupportsShouldProcess=true, HelpUri="http://go.microsoft.com/fwlink/?LinkID=113378")] 
public sealed class RemovePSSnapinCommand : PSSnapInCommandBase
/** @attribute OutputTypeAttribute(System.Compiler.TypeNode[]) */ 
/** @attribute CmdletAttribute("Remove", "PSSnapin", SupportsShouldProcess=true, HelpUri="http://go.microsoft.com/fwlink/?LinkID=113378") */ 
public final class RemovePSSnapinCommand extends PSSnapInCommandBase
OutputTypeAttribute(System.Compiler.TypeNode[]) 
CmdletAttribute("Remove", "PSSnapin", SupportsShouldProcess=true, HelpUri="http://go.microsoft.com/fwlink/?LinkID=113378") 
public final class RemovePSSnapinCommand extends PSSnapInCommandBase

This cmdlet removes a Windows PowerShell snap-in from the session, which makes all the cmdlets and providers associated with the snap-in inaccessible. For more information about this cmdlet, see Remove-PSSession in the Microsoft TechNet Library.

For Help at the command line, type:

get-help remove-pssnapin


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show:
© 2015 Microsoft