Jan 22, 2019 | PowerShell, Scripting, Tips-n-Tricks, Windows 10
Again… why was this seemingly so difficult to Google/Bing… I frequently have to write PowerShell code where I need to get the profiles on the computer and then manipulate it somehow… so I noticed that there’s a property in the Win32_Userprofile...
Jan 8, 2019 | PowerShell, Scripting, Tips-n-Tricks, Windows 10
Good day, friends: Today, I spent waaaaaay too much time trying to figure out the answer to a simple question of “when you query WMI for the logged on user and no one is logged on, is the result <blank> or <null>?” Simple answer is...
Dec 17, 2018 | APPV (Application Virtualization), PowerShell, Scripting, Windows 10
When I’m building an APPV application, as best practice, I do so in VMs, right… and I need to quickly test it in the VMs to make sure the app functionality is all there… so my config is this… take the script below, copy it to your client VM you...
Nov 30, 2018 | PowerShell, Scripting, Tips-n-Tricks, Windows 10
Credit to Jörgen Nilsson for the original post but this didn’t quite meet my need as we absolutely abhor using ActiveSetup actions in our environment — instead what we do is add a profile parse to grab the existing profiles and mount the Registry for the...