Skip to content

Get-PSSMSecretStoreConfiguration

SecretManagement: Retrieves SecretStore configuration

#Requires -Version 5.1
#Requires -Modules Microsoft.PowerShell.SecretStore

Process {
    try {
        $result = Get-SecretStoreConfiguration -ErrorAction Stop | Select-Object *
        if ($null -ne $result) { $result | Add-Member -NotePropertyName Timestamp -NotePropertyValue (Get-Date -Format "yyyy-MM-dd HH:mm:ss") -PassThru -Force }
    }
    catch { throw }
}

This script has no configurable parameters.

An interactive directory of PowerShell scripts.