PowerShell Module
Installing the Keeper Commander PowerShell Module
Overview
A version of Keeper Commander is developed in .Net with a PowerShell module. This is published to 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:
PowerShell Gallery Install
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 sets the CurrentUser scope
Logging in with Biometric Authentication
If biometric authentication is configured on your device, you can use Windows Hello to log in to Keeper Commander. This allows you to bypass both the Master Password and two-factor authentication (2FA) for a faster, secure login experience.
For Windows users, ensure Windows Hello is configured:
Navigate to Settings > Accounts > Sign-in options > Windows Hello
Set up Face recognition, Fingerprint, or PIN
Register Biometric Authentication
First, login to Keeper Commander with your Master Password (or SSO), then register biometric authentication:
Biometric authentication prompt (fingerprint or Face ID) will be displayed.
Register by authenticating with your fingerprint or faceID when prompted by the system.

With successful fingerprint or faceID authentication the registration will be completed:
Device Registration
To use biometric authentication as your default login method, you must register your device
PowerCommander Commands
Login Commands
Biometric Login Commands
Record Commands
Get-KeeperLocation
kpwd
Print current Keeper folder
Get-KeeperChildItem
kdir
Display subfolder and record names in the current Keeper folder
Edit-KeeperFolder
Copy-KeeperToClipboard
kcc
Copy record password to clipboard
Show-TwoFactorCode
2fa
Display Two Factor Code
Copy-KeeperFileAttachmentToStream
Download file attachement to stream
Get-KeeperPasswordVisible
Show/hide secret fields setting
Set-KeeperPasswordVisible
Sets whether password fields should be visible or not
Get-KeeperRecordPassword
Gets the password from a Keeper record by name, title, UID, or record object.
Get-KeeperPasswordReport
Generate comprehensive password security report for Keeper records.
Sharing Cmdlets
Enterprise Cmdlets
Get-KeeperEnterpriseTeamUser
ketu
Get a list of enterprise users for team
Get-KeeperMspLicenses
msp-license
Return MSP licenses
Switch-KeeperMC
switch-to-mc
Switch to Managed Company (new)
Switch-KeeperMSP
switch-to-msp
Switch back to MSP (new)
Get-KeeperManagedCompany
kmc
Enumerate all enterprise managed companies
New-KeeperManagedCompany
kamc
Create Managed Company
Remove-KeeperManagedCompany
krmc
Remove Managed Company
Edit-KeeperManagedCompany
kemc
Edit Managed Company
Get-MspBillingReport
Run MSP Billing Report
Get-KeeperNodeName
Return Name of current Enterprise Node
Get-KeeperRoleName
Get Display Name of Enterprise Role
Get-KeeperEnterpriseRoleUsers
Get a list of enterprise users for a role
Get-KeeperEnterpriseRoleTeams
Get a list of enterprise teams for a role
Get-KeeperEnterpriseAdminRole
Get a list of Administrator Permissions
Remove-KeeperEnterpriseTeamMember
Removes existing enterprise users from a Keeper team.
Add-KeeperEnterpriseTeamMember
Adds existing enterprise users to a Keeper team.
Secret Manager Cmdlets
BreachWatch Commands
Get-KeeperIgnoredBreachWatchRecords
list ignored breachwatch records
Biometric Login Support Commands
Additional Commands
Not all capabilities of Keeper Commander (Python) have been added to the PowerShell module. We add them on request by customers. If you have requests for our engineering team, please email [email protected].
Examples
Connect To Keeper Account
List the content of 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
kris alias forGet-KeeperRecord2fais alias forShow-TwoFactorCode
Copy record password to clipboard
where
controis a substring of the record title. See last entry ofkdiroutput in example #2kccis alias forCopy-KeeperToClipboard
or
'ktY3jEBqwFDi9UYZSxmIpw' is the Record UID of the same record
Add/Modify Keeper record
creates a legacy record in Keeper
creates a record of login type in Keeper
generates a new password for existing record
Pre-defined fields supported by both legacy and typed records
loginLoginpasswordPasswordurlWebsite Address
Copy owned record to folder
copies all records in the current Keeper folder to the folder with name 'Shared Folder'
List all enterprise users
Create a new Managed Company
Switch to a new Managed Company
Last updated
Was this helpful?

