Closed AndrewPla closed 2 years ago
Instead of Get-ItemPropertyValue... try using Get-ItemProperty instead to avoid the second error. Check out this for an example: https://github.com/AutomatedLab/AutomatedLab/commit/578cb1c51dfc57136df7acd6ff09e742e024ece0
Closing this because this scanner is being modified in #93 to address 2 issues.
Tested - Server 2016 returned:
Server 2012r2 returned: