mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-13 21:32:06 +00:00
Update HelpersRemoting.psm1 to handle an exception better (#27903)
This commit is contained in:
1 parent
f5fd48483f
commit
134c00dda9
1 file changed
+1
-1
@@ -8,7 +8,7 @@
|
||||
$Script:CIRemoteCred = $null
|
||||
|
||||
if ($IsWindows) {
|
||||
try { $Script:CIRemoteCred = Import-Clixml -Path "$env:TEMP\CIRemoteCred.xml" } catch { }
|
||||
try { $Script:CIRemoteCred = Import-Clixml -Path "$env:TEMP\CIRemoteCred.xml" } catch { $Script:CIRemoteCred = $null }
|
||||
}
|
||||
|
||||
function Get-DefaultEndPointName
|
||||
|
||||
Reference in new issue
Block a user