PowerShell script error: the string is missing the terminator:

前端 未结 2 1697
说谎
说谎 2021-01-12 23:34

Incredibly simple powershell script...

#Server side storage copy

$SourceStorageAccount = \"myStorageAccount\"
$SourceStorageKey = \"myKey\"

$SourceStorageC         


        
2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-13 00:20

    So parts of the code are copied and pasted from websites which have non-standard dash characters. I found it easier to see the characters when you use the cat command from the powershell command line to list the file

    Here's a screenshot of what it looks like listed in the powershell:-

提交回复
热议问题