It was released along with the Windows 10 Anniversary Update on August 2, 2016, and in Windows Server 2016. PackageManagement now supports proxies, PSReadLine now has ViMode support, and two new cmdlets were added: Get - TimeZone and Set - TimeZone. The LocalAccounts module allows for adding / removing local user accounts. A preview for PowerShell 5.1 was released for Windows Vista, Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, and Windows Server 2012 R2 on July 16, 2016, and was released on January 19, 2017.
which version of powershell comes with windows 10
PowerShell 5.1