If we need to check what Windows version a PowerShell script run on, we usually use a statement like this: So imagine our surprise when we saw what happens when you run this as a script in PrimalScript: Instead of reporting the actual Windows version, it appears as if we are running in Windows 8 […]
Tag: API
PowerShell 2.0 and the missing debugging API
Anyone who has been hosting the PowerShell engine has eagerly anticipated the release of PowerShell 2.0 and the promised debugger API. The problem is though, that there isn’t much of an API. Sure, there is a Debugger object in the Runspace class, where you can sign up for debugger events, like breakpoints having been updated […]