PasswordStateHelper
Description
PowerShell module for managing PasswordState environments and automating password management tasks.
Link to the Code
Features
- Manage PasswordState environments, folders, lists, and passwords.
- Generate and retrieve passwords securely.
- Integrate with Active Directory for security group synchronization.
- Automate password updates, permissions, and folder management.
- Convert PasswordState results to PowerShell credentials for seamless integration.
Functions
Connection
Install-PasswordStateEnvironment: Installs and configures the PasswordState environment.Switch-PasswordStateEnvironment: Switches between PasswordState environments.
Password Management
New-PSPassword: Creates a new password in PasswordState.Get-PSPassword: Retrieves passwords from PasswordState.Update-PSPassword: Updates an existing password in PasswordState.Remove-PSPassword: Deletes a password from PasswordState.Move-PSPassword: Moves a password to a different list in PasswordState.
Folder and List Management
New-PSFolder: Creates a new folder in PasswordState.New-PSList: Creates a new password list in PasswordState.Get-PSFolder: Retrieves folder details from PasswordState.Get-PSList: Retrieves password list details from PasswordState.Set-PSFolderPermission: Updates folder permissions in PasswordState.Set-PSListPermission: Updates list permissions in PasswordState.
Security Group Integration
Add-PSADSecurityGroup: Adds an Active Directory security group to PasswordState.Sync-PSADSecurityGroups: Synchronizes Active Directory security groups with PasswordState.
Utilities
ConvertTo-PSCredential: Converts a PasswordState result to a PowerShell credential object.Test-PasswordState: Runs tests to validate PasswordState connectivity and functionality.Generate-PSPassword: Generates a random password based on PasswordState policies.
Dependencies
passwordstate-management: Required for Ivanti integration.
Changelog
- 01/10/2023: Initial release of the module.
- 01/04/2025: Updated functions and documentation.