3 ms·
The only time I'm forced to use PowerShell is when dealing with edge cases involving MS products. In our case, we needed to refresh SQL Server Cube data within
by chaostheory 7y ago
The only time I'm forced to use PowerShell is when dealing with edge cases involving MS products. In our case, we needed to refresh SQL Server Cube data within an Excel file and we didn't want to use iron Python, so we relied on PowerShell for doing the refresh work while Python controlled its process.
Personally, since MS has made Javascript a 1st class citizen on Windows now, it would be nice if Javascript and Typescript were better integrated into PowerShell. It would be nice to have one language to rule them all. I hate the time wasted with context switching. Also, I still hate using PS script. They make a lot of strange style decisions like with method / parameter declaration.
- tasogare 7y agoPlease no. They already compromise a lot on the design of UWP to support JavaScript. Also, JSX was supported for decades on Windows and I don’t think it got any adoption. The syntax however should get a lifting, to result in something like C# but with less curly braces.
- int_19h 7y agoActive Scripting was the Powershell before Powershell. Not in a sense that it's a shell scripting language, but in a sense that it's what Windows admins used to wrote scripts more complicated than a batch file. That thing supports VBScript and JScript out of the box. Most scripts are written in VBS in practice, though.
- chaostheory 7y agoWhat exactly did MS compromise on for UWP to support Javascript? C# / Java is way too verbose, though almost anything is better than PS script syntax