There is this weird thing in Powershell that you might have come across if you have ever counted how many objects you have. In some cases Powershell will count 0 $null 2 3… You could say that this is a side effect of how Powershell tries to "magically" simplify stuff. The thing is, it doesn't…
Category: Powershell
PS C:\> Get-BlogPost -ID 0fb2729
PS C:\> Get-BlogPost -ID 30f16ce
Running ForEach in parallel on Windows Powershell 5 (and older)
PS C:\> Get-BlogPost -ID 5f197c2
Use Powershell to create a "fake" program in the programs and features list for indexing purposes
PS C:\> Get-BlogPost -ID cf82345
How to read the manifest of an appx package file using Powershell
Reading the manifest of an installed appx package is easy, however today a colleague of mine was working on a custom install script for appx packages and quickly found out that Microsofts Get-AppxPackageManifest can't be used on an actual appx file. Some quick testing later and we now have an extended version of the function…
PS C:\> Get-BlogPost -ID 94de9de
Building Powershell GUIs that won't freeze when you use them
PS C:\> Get-BlogPost -ID d15452a