I was looking for a way to find if systems in my environment have PowerShell 4.0 or not. I have a mix of systems with Windows Server 2012, Server 2012 R2, Server 2008 R2, Windows 7, Windows 8, and so on. If I were to check for the hotfix, I need to check different KB numbers for different operating systems. So, without knowing what OS the remote system is running, this is a little tricky and lengthy process.
↧