Wmic commands not working

%3CLINGO-SUB%20id%3D%22lingo-sub-1472488%22%20slang%3D%22en-US%22%3EWmic%20commands%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1472488%22%20slang%3D%22en-US%22%3ECommand%20-%20wmic%20bios%20get%20serialnumber%20or%20any%20wmic%20command%20gives%20same%20error%3CBR%20%2F%3E%3CBR%20%2F%3EGetting%20error%20-%20A%20Null%20reference%20pointer%20was%20passed%20to%20the%20stub.%3CBR%20%2F%3E%3CBR%20%2F%3EOperating%20system%20%3A%20windows%20server%202012%20R2%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1472488%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2012%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20Server%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ewmi%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1478085%22%20slang%3D%22en-US%22%3ERe%3A%20Wmic%20commands%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1478085%22%20slang%3D%22en-US%22%3EThanks%20will%20try%20it..%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1472728%22%20slang%3D%22en-US%22%3ERe%3A%20Wmic%20commands%20not%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1472728%22%20slang%3D%22en-US%22%3E%3CP%3ESomething%20here%20may%20help.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fwww.microsoft.com%2Fdownload%2Fen%2Fdetails.aspx%3Fdisplaylang%3Den%26amp%3Bid%3D7684%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.microsoft.com%2Fdownload%2Fen%2Fdetails.aspx%3Fdisplaylang%3Den%26amp%3Bid%3D7684%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E(please%20don't%20forget%20to%20mark%20helpful%20replies)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor
Command - wmic bios get serialnumber or any wmic command gives same error

Getting error - A Null reference pointer was passed to the stub.

Operating system : windows server 2012 R2
3 Replies
Highlighted

Something here may help.

 

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=7684

 

(please don't forget to mark helpful replies)

 

 

Highlighted
Thanks will try it..
Highlighted

You're welcome.