Skip to content

hi ☺️ Generic help request #33

Closed Answered by HotCakeX
kylprq asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
The hardening script no longer uses Get-WMIObject and instead uses the more modern Get-CimInstance.

https://learn.microsoft.com/en-us/powershell/module/cimcmdlets/get-ciminstance?view=powershell-5.1

Could you explain more about the scenario where you get that error? Like OS version, PowerShell version and anything else that can help, because I can't reproduce it on my side.

You too!

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@kylprq
Comment options

@HotCakeX
Comment options

@kylprq
Comment options

@HotCakeX
Comment options

Answer selected by kylprq
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants