Similarly, the following command shows the namespaces under ROOT\CIMV2 (which happens to be he default namespace):
PS C:\> get-cimInstance -namespace root\cimv2 -class __namespace | sort name
The classes in given namespace can be showns like so:
PS C:\> get-cimClass -namespace root\cimv2
An instance of a particular class can then be obtained like so (note that -namespace root\cimv2 is not necessary here as it is the default namespace anyway):