MS PowerShell, tips and tricks
Some Powershell odds and ends, so I don’t forget em:
To look for an environment variable, matching a pattern:
Get-WmiObject -query "select * from Win32_Environment" | where {$_.VariableValue.contains("131")}
Some other random PowerShell links:
http://www.computerworld.com/s/article/9066180/PowerShell_Tips_and_Tricks