Citrix Virtual Apps and Desktops SDK

Get-MonitorNotificationPolicy

Returns a list of MonitorNotificationPolicy objects matching the specified parameters

Syntax

Get-MonitorNotificationPolicy
   [-Uid <Int64>]
   [-LoggingId <Guid>]
   [<CitrixCommonParameters>]
   [<CommonParameters>]
<!--NeedCopy-->
Get-MonitorNotificationPolicy
   -Name <String>
   [-LoggingId <Guid>]
   [<CitrixCommonParameters>]
   [<CommonParameters>]
<!--NeedCopy-->

Description

Returns a list of MonitorNotificationPolicy objects matching the specified parameters

Examples

EXAMPLE 1

Returns the policy object having the Id equals to 1

Get-MonitorNotificationPolicy -Id 1
<!--NeedCopy-->

EXAMPLE 2

Returns the policy object having the name contains ‘Server OS Policy’

Get-MonitorNotificationPolicy -Name 'Server OS Policy'
<!--NeedCopy-->

Parameters

-Name

Returns all of the policies contains the specified name.

Type: String
Position: Named
Default value: None
Required: True
Accept pipeline input: False
Accept wildcard characters: True

-Uid

Returns the policy with the specified id.

Type: Int64
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: 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.

Type: Guid
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

CitrixCommonParameters

This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

You can’t pipe objects to this cmdlet.

Outputs

System.Collections.Generic.ICollection`1[[Citrix.Monitor.Sdk.PowerShell.MonitorNotificationPolicy, Citrix.Monitor.PowerShellSnapIn, Version=7.7.0.95, Culture=neutral, PublicKeyToken=e6a2b8abcb991548]]

Returns a collection of policies.

Get-MonitorNotificationPolicy