The WMI cmdlets are deprecated. To fix this there should be automatic detection for either WMI or CIM cmdlets