NewPSSessionCommand.Dispose Method (Boolean)

Represents the Dispose(Boolean) method of the New-PSSession cmdlet.

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

Dim disposing As Boolean


protected void Dispose (
	bool disposing
protected void Dispose (
	boolean disposing
protected function Dispose (
	disposing : boolean



True releases all resources used by the cmdlet.

This topic is included in this SDK for completeness only. For more information about this cmdlet, see New-PSSession in the Microsoft TechNet library.

For Help at the command line, type:

get-help new-pssession

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