-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhello
12 lines (10 loc) · 825 Bytes
/
hello
1
2
3
4
5
6
7
8
9
10
11
12
$secPass=ConvertTo-SecureString $env:passwd -asPlainText -Force
$mycreds = New-Object System.Management.Automation.PSCredential($env:userID,$secPass)
The shortened environment name is Dev1
The destination loation is \\CDCWVIGPWASD02\D$\apps\release\Dev1\GR-2406-00
powershell.exe : ConvertTo-SecureString : Cannot bind argument to parameter 'String' because it is null.
At E:\jenkinsci\workspace\workspace\GRS_Projects\GRS_MPS_Passport\GRS_Passport_Deploy_REL_Adhoc@tmp\durable-ef66d3c3\powershellWrapper.ps1:3 char:1
+ & powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -Comm ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (ConvertTo-Secur...use it is null.:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError