The magic is all in the batch file, it uses powershell to compile and run a CSharp file :D The batch file also forwards (up to) the first 9 command line params passed to it to the C# code :D There are ...
I use Powershell's "custom-object" command to create custom objects with properties I want to save. But custom-object applies only to one variable. Is it possible to create a custom class, like in ...
powershell executable default.cs PowerShell execution policy bypass with -enc powershell batch default.ps1 PowerShell execution policy bypass with -enc + Invoke-Expression (*1) executable batch ...
APIs seem to be everywhere these days. Every popular online service has one. APIs allow developers to interact with online services without actually having to point and click their way through a UI.
In the last paragraph of my column "How To Debug a PowerShell Script," I mentioned that punctuation can be problematic in PowerShell strings. I often catch myself omitting apostrophes, for example, ...