< Back

Add-HB-Param

Tue Jan 14, 2020 1:28 am

NAME Add-HB-Param



SYNOPSIS

Add a parameter to the XMLMC request





SYNTAX

Add-HB-Param [-ParamName] <String> [[-ParamValue] <String>] [[-ParamAllowEmpty] <Boolean>] [[-ParamAttribs]

<String>] [<CommonParameters>]





DESCRIPTION

Add a parameter to the XMLMC request





PARAMETERS

-ParamName <String>

Mandatory - the name of the parameter



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ParamValue <String>

Mandatory - the [string] value of the parameter



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ParamAllowEmpty <Boolean>

Boolean, allow empty string to be passed as a parameter value



Required? false

Position? 3

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-ParamAttribs <String>

Any attributes to add to the XMLMC request



Required? false

Position? 4

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:\\>Add-HB-Param "application" "com.hornbill.servicemanager"



Add-HB-Param "h_class" "computer" "onError=""omitElement"" "



Note the escaped double-quotes in the ParamAttribs string.











RELATED LINKS