Citrix Virtual Apps and Desktops SDK

Remove-MonitorNotificationPolicy

Removes persisted policy from the database by marking them as deleted

Syntax


Remove-MonitorNotificationPolicy [-InputObject <MonitorNotificationPolicy[]>] [-LoggingId <Guid>] [-BearerToken <String>] [-AdminClientIP <String>] [-TraceParent <String>] [-TraceState <String>] [-VirtualSiteId <String>] [-AdminAddress <String>] [<CommonParameters>]

Remove-MonitorNotificationPolicy [-Uid <Int64[]>] [-LoggingId <Guid>] [-BearerToken <String>] [-AdminClientIP <String>] [-TraceParent <String>] [-TraceState <String>] [-VirtualSiteId <String>] [-AdminAddress <String>] [<CommonParameters>]

<!--NeedCopy-->

Detailed Description

Removes the policy object from database by marking them as deleted and disable all the condtions associated with that

Parameters

Name Description Required? Pipeline Input Default Value
InputObject Removes all of the instances with the id matching in the specified policy objects false true (ByValue)  
Uid Removes all of the instances with the specified ids. If any of the ids are invalid, an exception is thrown. false false  
LoggingId Specifies the identifier of the high-level operation this cmdlet call forms a part of. Citrix Studio and Director typically create high-level operations. PowerShell scripts can also wrap a series of cmdlet calls in a high-level operation by way of the Start-LogHighLevelOperation and Stop-LogHighLevelOperation cmdlets. false false  
BearerToken Specifies the bearer token assigned to the calling user false false  
AdminClientIP Specifies the Client IP of the calling user false false  
TraceParent Specifies the trace parent assigned for internal diagnostic tracing use false false  
TraceState Specifies the trace state assigned for internal diagnostic tracing use false false  
VirtualSiteId Specifies the virtual site the PowerShell snap-in will connect to. false false  
AdminAddress Specifies the address of a Citrix Virtual Apps and Desktops 7 controller the PowerShell snap-in will connect to. You can provide this as a host name or an IP address. false false Localhost. Once a value is provided by any cmdlet, this value becomes the default.

Input Type

Return Values

Return Success If All Operations Are Succeeded

Return success if all operations are succeeded. An exception is thrown otherwise

Examples

Example 1


Remove-MonitorNotificationPolicy -Id 1

<!--NeedCopy-->

Description

Removes the policy with id 1

Example 2


Remove-MonitorNotificationPolicy -InputObject $policy

<!--NeedCopy-->

Description

Removes the policy with id matching the policy object specified

Remove-MonitorNotificationPolicy