Get-HotFix | Where-Object $_.HotFixID -like "KB*" | Select-Object HotFixID,InstalledOn
If PowerShell 5.1 is behaving unexpectedly, it is usually a system file issue rather than a WMF installer issue. wmf 5.1 windows 10
If enabled, disable immediately.