Closed DialupDownload closed 3 months ago
thanks for the pr! i pulled a different fix for this that didn't require the AD PS module as it may not always be available
your contribution is appreciated, thx for bringing attention to this. if you have anything else to add please open more pr's in the future!
For an unknown reason, on Windows 10 Version 10.0.18363 with PowerShell 5.1, the current code fails to properly detect lockout Windows and reports errors about NullArray and ConvertLargeIntegerToInt64
This rewrites the Get-ObservationWindow function to work with above Window 10 / PowerShell version.