< Back

Set-ISHUIEventMonitorMenuBarItem

Wed Jan 15, 2020 8:50 am

NAME Set-ISHUIEventMonitorMenuBarItem



SYNOPSIS

Update or add a new EventMonitor tab.





SYNTAX

Set-ISHUIEventMonitorMenuBarItem -Label <string> [-Icon <string>] [-EventTypesFilter <string[]>]

[-SelectedStatusFilter {Busy | Recent | Warning | Failed | All}] [-ModifiedSinceMinutesFilter <int>] -UserRole

<string[]> -Description <string> [-ISHDeployment <ISHDeployment>] [<CommonParameters>]





DESCRIPTION

The Set-ISHUIEventMonitorMenuBarItem cmdlet updates or adds new Tab definitions to Content Manager deployment.



If Icon is not specified, the default value '~/UIFramework/events.32x32.png' is taken.



If UserRole is not specified, the default value 'Administrator' is taken.



If ModifiedSinceMinutesFilter is not specified, the default value '1440' is taken.



If SelectedStatusFilter is not specified, the default value 'Recent' is taken.





PARAMETERS

-Label <string>

Label of menu item.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Icon <string>

Menu item icon representation. Default value is '~/UIFramework/events.32x32.png'.



Required? false

Position? named

Default value ~/UIFramework/events.32x32.png

Accept pipeline input? false

Accept wildcard characters? false



-EventTypesFilter <string[]>

Status filter. Null by default



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SelectedStatusFilter <StatusFilter>

Selected Status filter. Default value is 'Recent'.



Possible values: Busy, Recent, Warning, Failed, All



Required? false

Position? named

Default value Recent

Accept pipeline input? false

Accept wildcard characters? false



-ModifiedSinceMinutesFilter <int>

Modified since minutes filter value. Default value is '1440'.



Required? false

Position? named

Default value 1440

Accept pipeline input? false

Accept wildcard characters? false



-UserRole <string[]>

Can be applied for roles.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Description <string>

User role description.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ISHDeployment <ISHDeployment>

Specifies the name or instance of the Content Manager deployment.



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



---------- EXAMPLE 1 ----------



PS C:\\>Set-ISHUIEventMonitorMenuBarItem -ISHDeployment $deployment -Label "All Parameters" -Icon

"~/Custom/Images/Custom.png" -EventTypesFilter @("EXPORTFORPUBLICATION", "EXPORTFORPUBLICATIONPDF",

"EXPORTFORPUBLICATIONZIP") -SelectedStatusFilter "All" -ModifiedSinceMinutesFilter "3600" -UserRole

@("Administrator","Author") -Description "Tab using all available parameters"



Sets new tab with all sets of available and provided parameters.



This command sets XML definitions to EventMonitor. Parameter $deployment is a deployment name or an instance of

the Content Manager deployment retrieved from Get-ISHDeployment cmdlet.

---------- EXAMPLE 2 ----------



PS C:\\>Set-ISHUIEventMonitorMenuBarItem -ISHDeployment $deployment -Label "Defaults" -Description "Using default

parameters" -UserRole @("Administrator","Author")



Sets new tab with default set of provided parameters.



This command sets XML definitions to EventMonitor. Parameter $deployment is a deployment name or an instance of

the Content Manager deployment retrieved from Get-ISHDeployment cmdlet.



RELATED LINKS

Move-ISHUIEventMonitorMenuBarItem

Remove-ISHUIEventMonitorMenuBarItem