Set-QNamePatternResolver
Updates an existing name pattern resolver in the Data Governance Edition deployment.
Syntax:
Set-QNamePatternResolver -Id <String> [-VariableName [<String>]] [-DialogScriptID [<String>]] [<CommonParameters>]
Table 59: Parameters
Id |
Specify the ID (GUID format) of the name pattern resolver script to be updated. |
VariableName |
(Optional) Specify this parameter to change the variable to be specified in the group naming pattern. |
DialogScriptID |
(Optional) Specify this parameter to change the script to be used to resolve the variable. Enter the value assigned to a pre-defined script. |
Examples:
Table 60: Examples
Set -QNamePatternResolver -Id b4626325-1b4e-4f28-9276-4723d2655d77 -VariableName "DeptName" |
Updates the variable name assigned to the "QAM_GetDepartmentShortName" name pattern resolver. |
Server selection script management
A server selection script can be used to select a QAMNode to host a new file share. Available server selection scripts appear on the Sever Selection Scripts dialog when the Data Governance Administrator selects to assign a file share host using the script option on the File Share page of the New File Share dialog.
TIP: Prior to adding or modifying a server selection script, see Server selection scripts for an overview of this feature.
The following commands are available to manage your server selection scripts, which are used in file system share requests in the IT Shop. For full parameter details and examples, click a command in the table or see the command help, using the Get-Help command.
Table 61: Server selection script management commands
Add-QServerSelectionScript |
Add a server selection script to the Data Governance Edition deployment. |
Get-QServerSelectionScript |
Retrieve a server selection script from the Data Governance Edition deployment.
You can retrieve a specific server selection script or a list of all server selection scripts in the database. |
Remove-QServerSelectionScript |
Remove a server selection script from the Data Governance Edition deployment. |
Set-QServerSelectionScript |
Update an existing server selection script in the Data Governance Edition deployment. |
Add-QServerSelectionScript
Adds a server selection script to the Data Governance Edition deployment, which can be used to select a managed host server to host a managed resource.
Syntax:
Add-QServerSelectionScript -DialogScriptID <String> [<CommonParameters>]
Table 62: Parameters
DialogScriptID |
Specify the ID of an existing script to be run to determine an eligible server to create the share on. |
Examples:
Table 63: Examples
Add-QServerSelectionScript -DialogScriptID "QAM-381B1818DC66DC367DA5AA2DA30663B1" |
Adds a new server selection script to the database. |
Get-QServerSelectionScript
Retrieves details about a server selection script from the Data Governance Edition deployment.
Syntax:
Get-QServerSelectionScript [-Id [<String>]] [<CommonParameters>]
Table 64: Parameters
Id |
(Optional) Specify the ID (GUID format) of the server selection script to be retrieved.
If this parameter is not specified, all server selection scripts in the database are returned. |
Examples:
Table 65: Examples
Get-QServerSelectionScript |
Returns a list of all the server selection scripts in the database. |
Get-QServerSelectionScript -Id 2196674d-e227-4ce9-af29-1bb9f69a7718 |
Returns information on the specified server selection script. |
Details retrieved:
Table 66: Details retrieved
DialogScriptID |
The value assigned to the server selection script when it was created (UID_DialogScript). |
Id |
The value (GUID) assigned to the server selection script (UID_QAMServerSelectionScript). |