News for hackers. Stuff that matters.
Re:Microsoft’s PowerShell Core Offers Cross-Platform Automation by rb808 on Monday January 22, 2018 @01:21PM (#16206562)
Didn't work for me, I think you have to prepend with a & so

& notepad.exe

Which isn't complicated I agree but annoyed me.

Re:Microsoft’s PowerShell Core Offers Cross-Platform Automation by AnIdiotOnTheNet on Monday January 22, 2018 @01:26PM (#16206601)
What version of Powershell are you using?

Just typing "notepad" is enough to launch it. The problems with powershell and executables only really come in to play when argument passing, where some escaping is necessary.

Re:Microsoft’s PowerShell Core Offers Cross-Platform Automation by rb808 on Monday January 22, 2018 @01:43PM (#16206742)
3, we still have win7 at work.
Re:Microsoft’s PowerShell Core Offers Cross-Platform Automation by joeyaiello on Monday January 22, 2018 @01:55PM (#16206864)
You can download and install PowerShell Core 6 completely side-by-side with Windows PowerShell 3.0. We even have a portable ZIP you can drop down wherever: https://github.com/powershell/powershell/releases
Re:Microsoft’s PowerShell Core Offers Cross-Platform Automation by Arnavion on Monday January 22, 2018 @03:56PM (#16207830)
The only reason to use iex is if the thing you're trying to execute is not directly the name of the process. So you need & for `&'notepad'` and `&$string_variable` but not `notepad`