Installation on PowerShell
Installing the Keeper Commander PowerShell Module
Overview
Keeper Commander is available on the PowerShell Gallery as the PowerCommander
module. This document provides instructions for installing and using this PowerShell Module
PowerShell CLI
Keeper's PowerShell command-line tool (PowerCommander) provides basic vault access and administrative functions.
PowerShell module for Keeper Commander is available on the PowerShell Gallery:
To install PowerCommander from PowerShell Gallery:
GitHub Repository
To run the PowerCommander module from the source, refer to the following GitHub Link:
https://github.com/Keeper-Security/keeper-sdk-dotnet/tree/master/PowerCommander
Installation Troubleshooting
Set Execution Policy Permissions
If you are unable to run PowerCommander commands, you may need to set the Execution Policy. To check this, run the following command:
Your output would be similar to this:
If the Scope for your installation is Undefined
or Restricted
, set it to Unrestricted
with the following command:
Note: The above command set the CurrentUser
scope
PowerCommander Commands
Cmdlet name | Alias | Description |
|
| Login to Keeper server |
|
| Sync with Keeper server |
| Logout and clear the data | |
|
| Print current Keeper folder |
|
| Change Keeper folder |
|
| Display subfolder and record names in the current Keeper folder |
|
| Enumerate all records |
|
| Enumerate all shared folders |
|
| Add/Modify Keeper record |
|
| Delete Keeper record |
|
| Create Keeper Folder |
|
| Remove Keeper Folder |
|
| Move owned record to Keeper folder |
|
| Copy record password to clipboard |
|
| Display Two Factor Code |
Examples
Connect To Keeper Account
List the content of a Keeper folder
f - folder
r - record
S - shared
A - file attachments
O - owner
Show Two Factor Code for all records in the current Keeper folder
Show Two Factor Code for all records in the Vault.
where
kr
is alias forGet-KeeperRecords
2fa
is alias forShow-TwoFactorCode
Copy record password to clipboard
where
contro
is a substring of the record title. See last entry ofkdir
output abovekcc
is alias forCopy-KeeperToClipboard
or
'ktY3jEBqwFDi9UYZSxmIpw'
is the Record UID of the same record
Add/Modify Keeper record
Create a Keeper record
Copy owned record to folder
The above command copies all records in the current Keeper folder to the folder with name 'Shared Folder'
Last updated