The
Suspend-Service 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: Microsoft.PowerShell.Commands.Management (in microsoft.powershell.commands.management.dll)
Dim instance As SuspendServiceCommand
<CmdletAttribute("Suspend", "Service", DefaultParameterSetName:="Default", SupportsShouldProcess:=True)> _
<OutputTypeAttribute(System.Compiler.TypeNode[])> _
Public NotInheritable Class SuspendServiceCommand
Inherits ServiceOperationBaseCommand
[CmdletAttribute("Suspend", "Service", DefaultParameterSetName="Default", SupportsShouldProcess=true)]
[OutputTypeAttribute(System.Compiler.TypeNode[])]
public sealed class SuspendServiceCommand : ServiceOperationBaseCommand
[CmdletAttribute(L"Suspend", L"Service", DefaultParameterSetName=L"Default", SupportsShouldProcess=true)]
[OutputTypeAttribute(System.Compiler.TypeNode[])]
public ref class SuspendServiceCommand sealed : public ServiceOperationBaseCommand
/** @attribute CmdletAttribute("Suspend", "Service", DefaultParameterSetName="Default", SupportsShouldProcess=true) */
/** @attribute OutputTypeAttribute(System.Compiler.TypeNode[]) */
public final class SuspendServiceCommand extends ServiceOperationBaseCommand
CmdletAttribute("Suspend", "Service", DefaultParameterSetName="Default", SupportsShouldProcess=true)
OutputTypeAttribute(System.Compiler.TypeNode[])
public final class SuspendServiceCommand extends ServiceOperationBaseCommand
This cmdlet suspends (pauses) one or more running services. For more information about this cmdlet, see Suspend-Service in the Microsoft TechNet library.
For Help at the command line, type:
get-help suspend-service
System.Object
System.Management.Automation.Internal.InternalCommand
System.Management.Automation.Cmdlet
Microsoft.PowerShell.Commands.ServiceBaseCommand
Microsoft.PowerShell.Commands.MultipleServiceCommandBase
Microsoft.PowerShell.Commands.ServiceOperationBaseCommand
Microsoft.PowerShell.Commands.SuspendServiceCommand
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, Windows 7, Windows 2008 R2 Target Platforms
Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, Windows 7, Windows 2008 R2