UnregisterScheduledJobCommand Class

Represents the Unregister-ScheduledJob cmdlet, which removes scheduled job definitions from the Task Scheduler, job store, and local repository. This class cannot be inherited. This SDK programming element is introduced in Windows PowerShell 3.0.

Namespace: Microsoft.PowerShell.ScheduledJob
Assembly: Microsoft.PowerShell.ScheduledJob (in Microsoft.PowerShell.ScheduledJob.dll)

Usage

'Usage
Dim instance As UnregisterScheduledJobCommand

Syntax

'Declaration
<CmdletAttribute("Unregister", "ScheduledJob", SupportsShouldProcess:=True, DefaultParameterSetName:="Definition", HelpUri:="https://go.microsoft.com/fwlink/?LinkID=223925")> _
Public NotInheritable Class UnregisterScheduledJobCommand
    Inherits ScheduleJobCmdletBase
[CmdletAttribute("Unregister", "ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName="Definition", HelpUri="https://go.microsoft.com/fwlink/?LinkID=223925")] 
public sealed class UnregisterScheduledJobCommand : ScheduleJobCmdletBase
[CmdletAttribute(L"Unregister", L"ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName=L"Definition", HelpUri=L"https://go.microsoft.com/fwlink/?LinkID=223925")] 
public ref class UnregisterScheduledJobCommand sealed : public ScheduleJobCmdletBase
/** @attribute CmdletAttribute("Unregister", "ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName="Definition", HelpUri="https://go.microsoft.com/fwlink/?LinkID=223925") */ 
public final class UnregisterScheduledJobCommand extends ScheduleJobCmdletBase
CmdletAttribute("Unregister", "ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName="Definition", HelpUri="https://go.microsoft.com/fwlink/?LinkID=223925") 
public final class UnregisterScheduledJobCommand extends ScheduleJobCmdletBase

Inheritance Hierarchy

System.Object
   System.Management.Automation.Internal.InternalCommand
     System.Management.Automation.Cmdlet
       System.Management.Automation.PSCmdlet
         Microsoft.PowerShell.ScheduledJob.ScheduleJobCmdletBase
          Microsoft.PowerShell.ScheduledJob.UnregisterScheduledJobCommand

Thread Safety

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

Platforms

Target Platforms

See Also

Reference

UnregisterScheduledJobCommand Members
Microsoft.PowerShell.ScheduledJob Namespace