Assets Discovery migrate WmiObject to CimCmdLets to get wmi data from windows remote host

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Assets Discovery
    • None
    • 1

      Problem

      Assets discovery uses Get-WmiObject in PowerShell patterns
      Windows PowerShell 5.1 is built on top of the .NET Framework v4.5. With the release of PowerShell 6.0, PowerShell became an open source project built on .NET Core 2.0.

      The following WMI v1 cmdlets were removed from PowerShell:

      Register-WmiEvent
      Set-WmiInstance
      Invoke-WmiMethod
      Get-WmiObject
      Remove-WmiObject
      

      Reference: Differences between Windows PowerShell 5.1 and PowerShell 7.x

      At the time of writing this, PowerShell 7 installs to a new directory, enabling side-by-side execution with Windows PowerShell 5.1 but from
      Get-WmiObject - Module release history is coming to an end.

      Solution

      Consider modifying Windows PowerShell patterns to replace Get-WmiObject

            Assignee:
            Unassigned
            Reporter:
            Pablo Bartolome (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: