< Back
Unregister-DSCTrigger
Post
NAME Unregister-DSCTrigger
SYNOPSIS
Unregisters a trigger to run a Powershell configuration
SYNTAX
Unregister-DSCTrigger [-Name] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Unregisters a WMI event trigger that would start a PowerShell configuration
PARAMETERS
-Name <String>
The name of the DSC trigger
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.Nullable
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Unregister-DSCTrigger "MyTrigger"
RELATED LINKS
Register-DSCTrigger
Get-DSCTrigger
SYNOPSIS
Unregisters a trigger to run a Powershell configuration
SYNTAX
Unregister-DSCTrigger [-Name] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Unregisters a WMI event trigger that would start a PowerShell configuration
PARAMETERS
-Name <String>
The name of the DSC trigger
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.Nullable
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Unregister-DSCTrigger "MyTrigger"
RELATED LINKS
Register-DSCTrigger
Get-DSCTrigger