Closed Michlass closed 7 years ago
That sounds a bit strange, I'll have a look at it later. Does changing the double quotes to single quote help?
Two of the hyphens earlier in the script (preceding Execute and Trigger) are actually dashes, could this cause the problem?
@JonnyTech thanks, I totally missed that. It could have caused the problem indeed. Anyway, the dashes are now replaced.
Wow, never guessed that would be the problem. Seems to be solved now, thanks guys!
Apparently hyphen, en-dash and em-dash are accepted by PowerShell for commandline arguments, but it seems like the parser breaks somewhere down the line. Sorry for the inconvenience.
Wen script is called, PS returns the following: