paulwetter/DocumentConfigMgrCB

Incorrect Discovery Method Status reported

Closed this issue · 6 comments

The site discovery methods is showing "disabled" for all methods, even though all but network discovery are enabled.

Hmmmmm. I will take a look this weekend. If probably have a decimal point in the wrong place somewhere. I always miss some mundane detail. 🙂

Hmmm.... I am not seeing this at my end.... Server OS, CM build, and PowerShell version you running against?

I could not reproduce the issue.
Windows Server 2012 R2, CM 1906 (5.0.8853.100), PoSH 5.1.14409.1018

This issue could be produced by running the script from a computer, not from the MECM/SCCM server. Do you get the "Get-WmiObject : Invalid namespace "ROOT\SMS\site_XXX" error from the script? If so, try to run it from the server, mainly because the namespace "ROOT\SMS..." does not exist on a computer but in the MECM/SCCM server. This is what happened to me...

Thank you @Alpanama . This helps a bunch. I was missing the computername parameter on my WMI queries. Should be fixed in the latest push tonight. I has some other items in the build that I hope i had finished. (was working on Phased Deployments).

So hopefully everything is working in 3.52 now (9d47bbc)

So, closing. Pretty sure this is fixed.