add linux error message
This commit is contained in:
parent
84a89eb640
commit
dd17ac4fed
@ -122,6 +122,9 @@ function New-CredentialStoreItem {
|
||||
$_.Thumbprint -eq $CSContent.Thumbprint
|
||||
} | Select-Object -First 1
|
||||
if ($null -eq $Cert) {
|
||||
if ($isLinux) {
|
||||
throw "There is no windows certificate store on linux systems!"
|
||||
}
|
||||
$ErrorParams = @{
|
||||
ErrorAction = 'Stop'
|
||||
Exception = [System.Exception]::new(
|
||||
|
Loading…
Reference in New Issue
Block a user