Hub PowerShell Module |
The Password Hub PowerShell Module is a way to access, create, update and remove elements in your Password Hub Business. This will help you to automatize some operations/scripts. After you install the PowerShell Module, you will be ready to use the module and connect to your Password Hub Business.
•PowerShell 7 installed:
oMac
•An Application User
•Connecting to your Password Hub Business
For the full list of commands available please consult our PowerShell Commands topic. |
1.Once PowerShell 7 is installed, open a PowerShell 7 terminal and install Devolutions Remote Desktop Manager (RDM) PowerShell Module with the following PowerShell command:
Install-Module -Name RemoteDesktopManager
Other installations options can be found in the PowerShell Gallery. |
2.Connect to your Password Hub Business using the following command. If you see no error, it means you are connected to your Password Hub Business.
Connect-HubAccount -Url https://yourhub.devolutions.app/ -ApplicationSecret [YOUR_APPLICATION_SECRET] -ApplicationKey [YOUR_APPLICATION_KEY]
1.With the Get-HubVault command, you can get vaults that your application user can view and edit.
If you have set the permissions of your application user to multiple vaults, you will see an array of vaults. |
2.With this vault information, you can get all of the entries with the command Get-HubEntry and the vault ID.
If you have more than one entry, you will see an array of entries. |
3.To view specific information, you can put the Password Hub Business command return to a variable and retrieve what you need, like the connection ID in this example:
4.To edit this entry, you can change the object and update it with the Set-HubEntry command.
At any moment, you can validate in your web version of Password Hub Business that the changes have been made.