Guest User

Untitled

a guest
Jun 28th, 2018
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. With backticked qoutation marks:
  2.  
  3. [DBG]: PS C:\workspace\kslog\Deploy> $arguments
  4. -verb:sync
  5. -source:contentPath=C:\workspace\kslog\build\deploy
  6. -dest:contentPath=c:\temp\kslog,computerName=192.168.1.34,username=administrator,password=
  7. -verbose
  8. -postSyncOnSuccess:runCommand="powershell -Command c:\temp\kslog\remotetasks.ps1 Deploy"
  9.  
  10. [DBG]: PS C:\workspace\kslog\Deploy> echoargs $arguments
  11. Arg 0 is <-verb:sync>
  12. Arg 1 is <-source:contentPath=C:\workspace\kslog\build\deploy>
  13. Arg 2 is <-dest:contentPath=c:\temp\kslog,computerName=192.168.1.34,username=administrator,password=>
  14. Arg 3 is <-verbose>
  15. Arg 4 is <-postSyncOnSuccess:runCommand=powershell>
  16. Arg 5 is <-Command>
  17. Arg 6 is <c:\temp\kslog\remotetasks.ps1>
  18. Arg 7 is <Deploy>
  19.  
  20. Without backticks or qoutation marks:
  21.  
  22. [DBG]: PS C:\workspace\kslog\Deploy> $arguments
  23. -verb:sync
  24. -source:contentPath=C:\workspace\kslog\build\deploy
  25. -dest:contentPath=c:\temp\kslog,computerName=192.168.1.34,username=administrator,password=
  26. -verbose
  27. -postSyncOnSuccess:runCommand=powershell -Command c:\temp\kslog\remotetasks.ps1 Deploy
  28. [DBG]: PS C:\workspace\kslog\Deploy> echoargs $arguments
  29. Arg 0 is <-verb:sync>
  30. Arg 1 is <-source:contentPath=C:\workspace\kslog\build\deploy>
  31. Arg 2 is <-dest:contentPath=c:\temp\kslog,computerName=192.168.1.34,username=administrator,password=>
  32. Arg 3 is <-verbose>
  33. Arg 4 is <-postSyncOnSuccess:runCommand=powershell -Command c:\temp\kslog\remotetasks.ps1 Deploy>
Add Comment
Please, Sign In to add comment