Category: scripting
-
WMI Performance Anomaly: Querying the Number of CPU Cores
As one of the few devs that both likes and is reasonably well-versed in PowerShell I became the point of contact for a colleague that was bemused by a performance oddity when querying the number of cores on a host. He was introducing Ninja into the bui…
-
WMI Performance Anomaly: Querying the Number of CPU Cores
As one of the few devs that both likes and is reasonably well-versed in PowerShell I became the point of contact for a colleague that was bemused by a performance oddity when querying the number of cores on a host. He was introducing Ninja into the bui…
-
Chaining IF and && with CMD
An interesting bug cropped up the other day in a dub configuration file which made me realise I wasn’t consciously aware of the precedence of && when used in an IF statement with cmd.exe. Batch File Idioms I’ve written a ton of batch files ov…
-
Chaining IF and && with CMD
An interesting bug cropped up the other day in a dub configuration file which made me realise I wasn’t consciously aware of the precedence of && when used in an IF statement with cmd.exe. Batch File Idioms I’ve written a ton of batch files ov…
-
Simple Tables From JSON Data With JQ and Column
My current role is more of a DevOps role and I’m spending more time than usual monitoring and administrating various services, such as the GitLab instance we use for source control, build pipelines, issue management, etc. While the GitLab UI is very us…
-
Simple Tables From JSON Data With JQ and Column
My current role is more of a DevOps role and I’m spending more time than usual monitoring and administrating various services, such as the GitLab instance we use for source control, build pipelines, issue management, etc. While the GitLab UI is very us…
-
PowerShell’s Call Operator (&) Arguments with Embedded Spaces and Quotes
I was recently upgrading a PowerShell script that used the v2 nunit-console runner to use the v3 one instead when I ran across a weird issue with PowerShell. I’ve haven’t found a definitive bug report or release note yet to describe the change in behav…
-
PowerShell’s Call Operator (&) Arguments with Embedded Spaces and Quotes
I was recently upgrading a PowerShell script that used the v2 nunit-console runner to use the v3 one instead when I ran across a weird issue with PowerShell. I’ve haven’t found a definitive bug report or release note yet to describe the change in behav…