pdqcom / PowerShell-Scanners

A community repository of PowerShell Scanners for PDQ Inventory.
MIT License
182 stars 74 forks source link

LLMNR Enabled #91

Closed mrtowering closed 1 year ago

mrtowering commented 2 years ago

Get-ItemProperty needs changed to Get-ItemPropertyValue in some lines to fix error in running the script.

CaseyM-PDQ commented 2 years ago

Thanks for bringing this up! When I test this in my environment I do not get any errors. However, I also do not have any devices where LLMNR is enabled, so it may be something there. What errors are you getting on your side? Is it specific machines (O/S, LLMNR value, etc...) that throw this error, or all?

Changing Get-ItemProperty to Get-ItemPropertyValue threw "Get-ItemPropertyValue: Property EnableMulticast does not exist" errors for me. Which instances of Get-ItemProperty work better for you as Get-ItemPropertyValue?

Let us know and we can dig a bit deeper into this.

AndrewPla commented 1 year ago

Going to get this one closed out, but if you have a chance to look into what @CaseyM-PDQ let us know and we can take a closer look