StopComputerCommand.Dispose Method (Boolean)

Represents the implementation of the Dispose(Boolean) method of the Stop-Computer cmdlet. This method is introduced in Windows PowerShell 2.0.

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

Dim instance As StopComputerCommand
Dim disposing As Boolean


public void Dispose (
	bool disposing
public void Dispose (
	boolean disposing
public 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 Stop-Computer in the Microsoft TechNet library.

For Help at the command line, type:

get-help stop-computer

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