Remove-QServerSelectionScript
Removes a server selection script from the Data Governance Edition deployment.
Syntax:
Remove-QServerSelectionScript -Id <String> [<CommonParameters>]
Table 67: Parameters
Id |
Specify the ID (GUID format) of the server selection script to be removed.
Run the Get-QServerSelectionScript cmdlet without any parameters to retrieve a list of available server selection scripts and associated IDs. |
Examples:
Table 68: Examples
Remove-QServerSelectionScript 2196674d-e227-4ce9-af29-1bb9f69a7718 |
Removes the random node server selection script from the database. |
Set-QServerSelectionScript
Updates an existing server selection script in the Data Governance Edition deployment.
Syntax:
Set-QServerSelectionScript -Id <String> [-DialogScriptID [<String>]] -Name <String> [<CommonParameters>]
Table 69: Parameters
Id |
Specify the ID (GUID format) of the server selection script to be updated.
Run the Get-QServerSelectionScript cmdlet without any parameters to retrieve a list of available server selection scripts and associated IDs. |
DialogScriptID |
(Optional) Specify this parameter to change the script to be run to determine an eligible server to create the share on. Enter the value assigned to a pre-defined script. |
Examples:
Table 70: Examples
Set-QServerSelectionScript -Id "2196674d-e227-4ce9-af29-1bb9f69a7718" -DialogScriptID "QAM-381B1818DC66DC367DA5AA2DA30663B1" |
Updates the specified server selection script. |
Share root path management
A managed share root path defines root paths that a share could be created under for a given local managed host (QAMNode). Available managed share root paths appear on the Managed Share Root Path dialog when the Data Governance Administrator selects to assign a root path on the File Share page of the New File Share dialog.
Note: Only local managed hosts are supported at this time.
The following commands are available to manage your group containers, 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 71: Share root path management commands
Add-QManagedShareRootPath |
Add a managed share root path to the Data Governance Edition deployment. |
Get-QManagedShareRootPath |
Retrieve a managed share root path from the Data Governance Edition deployment.
You can retrieve a specific share root path or a list of all managed share root paths in the database. |
Remove-QManagedShareRootPath |
Remove a managed share root path from the Data Governance Edition deployment. |
Set-QManagedShareRootPath |
Update an existing managed share root path in the Data Governance Edition deployment. |
Add-QManagedShareRootPath
Adds a new managed share root path in the Data Governance Edition deployment to define where a share for the specified managed host (QAMNode) is to be created under.
Syntax:
Add-QManagedShareRootPath -QAMNodeID <String> -RootPath <String> [-Description [<String>]] [<CommonParameters>]
Table 72: Parameters
QAMNodeID |
Specify the ID (GUID format) of the managed host (QAMNode) to which the path applies. |
RootPath |
Specify the root path to be used for new file shares, for example D$\ShareRoot1.
NOTE: Only local managed hosts are supported at this time. Do not include the machine name as part of the path. |
Description |
(Optional) Specify a description for the shared root path. |
Examples:
Table 73: Examples
Add-QManagedShareRootPath -QAMNode db9d52d9-8ef1-44b4-8941-47bd5223388c -RootPath D$\ShareRoot4 |
Adds a new share root path, D$\ShareRoot4 to the managed host with the GUID db9d52d9-8ef1-44b4-8941-47bd5223388c. |