Get-CimInstance (-className antispywareproduct) returns no output

%3CLINGO-SUB%20id%3D%22lingo-sub-2192852%22%20slang%3D%22en-US%22%3EGet-CimInstance%20(-className%20antispywareproduct)%20returns%20no%20output%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2192852%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3Ewhen%20i%20run%20cmdlet%20%3CEM%3EGet-CimInstance%20-namespace%20root%5Csercuritycenter2%20-classname%20antispywareproduct%3C%2FEM%3E%26nbsp%3Bon%20my%20Windows%2010%20(20H2)%20pc%20it%20does%20not%20return%20any%20output.%20Not%20even%20an%20error.%20But%20if%20I%20use%20%3CEM%3E-classname%20anti%3CSTRONG%3Evirus%3C%2FSTRONG%3Eproduct%3C%2FEM%3E%2C%20it%20does%20return%20what%20AV%20I'm%20using.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20tryed%20to%20look%20inside%20the%20event%20log%20viewer%2C%20but%20the%20only%20logs%20I%20could%20see%20were%201%20-%20powershell%20is%20starting%20up%3B%202%20-%20IPC%20listening%20on%20process...%3B%203%20-%20console%20is%20ready%20for%20input.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20trying%20to%20troubleshoot%20why%20our%20compliance%20check%20(the%20check%20reads%20Windows%20security%20center%20for%20info)%20cannot%20find%20Bitdefender%20antispyware.%20Maybe%20cmdlet%20not%20returning%20anything%20could%20be%20the%20issue%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2192852%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWindows%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Hello,

when i run cmdlet Get-CimInstance -namespace root\sercuritycenter2 -classname antispywareproduct on my Windows 10 (20H2) pc it does not return any output. Not even an error. But if I use -classname antivirusproduct, it does return what AV I'm using. 

 

I've tryed to look inside the event log viewer, but the only logs I could see were 1 - powershell is starting up; 2 - IPC listening on process...; 3 - console is ready for input.

 

I was trying to troubleshoot why our compliance check (the check reads Windows security center for info) cannot find Bitdefender antispyware. Maybe cmdlet not returning anything could be the issue?

0 Replies