microsoft / adfsToolbox

A collection of PowerShell scripts for managing AD FS
MIT License
121 stars 29 forks source link

OS Version returns incorrect version on certain WS builds #41

Open madhavpatel6 opened 6 years ago

madhavpatel6 commented 6 years ago

The PowerShell team changed the functionality of GetVersionEx and [System.Environment]::OSVersion.Version uses that underneath. This seems to only be an issue for WS 2012 R2 PowerShell ISE users.