Closed cowbe0x004 closed 4 years ago
Seems like you have extra quotes at the end of @powershell lines, for example,
@powershell (new-object System.Net.WebClient).DownloadFile('https://live.sysinternals.com/Sysmon64.exe','C:\ProgramData\sysmon\sysmon64.exe')"
That quote doesn't give me error when I run the script so sorry if this is syntactically correct.
Hah it works not sure how/why it still works but ill update it seems like I can remove all the double quotes... Thanks!
Seems like you have extra quotes at the end of @powershell lines, for example,
@powershell (new-object System.Net.WebClient).DownloadFile('https://live.sysinternals.com/Sysmon64.exe','C:\ProgramData\sysmon\sysmon64.exe')"
That quote doesn't give me error when I run the script so sorry if this is syntactically correct.