List all available namespaces in WMI using PowerShell

You can use any of below PowerShell commands to list all available namespaces in WMI.

Using Get-WMIObject

PS C:\> Get-WMIObject -namespace Root -class __Namespace | Select Name

Using Get-CimInstance

PS C:\> Get-CimInstance -Namespace Root -ClassName __Namespace