We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd1a566 commit fb6646eCopy full SHA for fb6646e
reference/docs-conceptual/PSScriptAnalyzer/Rules/AvoidUsingWMICmdlet.md
@@ -17,7 +17,7 @@ The following cmdlets should not be used:
17
18
- `Get-WmiObject`
19
- `Remove-WmiObject`
20
-- `Invoke-WmiObject`
+- `Invoke-WmiMethod`
21
- `Register-WmiEvent`
22
- `Set-WmiInstance`
23
@@ -38,7 +38,7 @@ Change to the equivalent CIM based cmdlet.
38
39
- `Get-WmiObject` -> `Get-CimInstance`
40
- `Remove-WmiObject` -> `Remove-CimInstance`
41
-- `Invoke-WmiObject` -> `Invoke-CimMethod`
+- `Invoke-WmiMethod` -> `Invoke-CimMethod`
42
- `Register-WmiEvent` -> `Register-CimIndicationEvent`
43
- `Set-WmiInstance` -> `Set-CimInstance`
44
0 commit comments