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