< Back

Set-ISHUISearchMenuBarItem

Wed Jan 15, 2020 8:51 am

NAME Set-ISHUISearchMenuBarItem



SYNOPSIS

Create/Update search menu item.





SYNTAX

Set-ISHUISearchMenuBarItem -Label <string> -UserRole <string[]> -Type {Publication | Default} [-Icon <string>]

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





DESCRIPTION

The Set-ISHUISearchMenuBarItem cmdlet add or update search menu item.





PARAMETERS

-Label <string>

Label of menu item.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-UserRole <string[]>

The list of users for whom the menu item is available.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Type <UISearchMenuSearchType>

Search type will choose asp page SearchFrame.asp or SearchNewPublications.asp.



Possible values: Publication, Default



Required? true

Position? named

Default value Publication

Accept pipeline input? false

Accept wildcard characters? false



-Icon <string>

Icon for a menu.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SearchXML <string>

SearchXML parameter in action. By default is the same as SearchType.



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-ISHUISearchMenuBarItem -ISHDeployment $deployment -Label "Search" -SearchXML "SearchNewGeneral" -Type

Publication -UserRole Author, Reviewer



This command add/update search menu item. Parameter $deployment is a deployment name or an instance of the Content

Manager deployment retrieved from Get-ISHDeployment cmdlet.



RELATED LINKS

Move-ISHUISearchMenuBarItem

Remove-ISHUISearchMenuBarItem