Quantcast
Channel: Windows 8.1 Installation, Setup, and Deployment forum
Viewing all articles
Browse latest Browse all 5362

WMI Query using powershell command on WinPE

$
0
0

Hi,

I am trying to get some information using the following command in powershell. The command works fine on a normal desktop machine with win2012 but when i try the same on WinPE4.0 it doesn't work. 

FYI : I have wmi installed on winpe4.0

I have heard of the new Storage Management API for win8 and was trying the following command. But this doesn't seem to be working on winpe4.0. Then i tried a very simple command, and that too failed.

> get-wmiobject -namespace "root/microsoft/windows/storage" -class msft_physicaldisk     //doesn't work on winpe4.0

>get-physicaldisk     //work on winpe4.0

>get-wmiobject win32_Bios //doesn't work on winpe4.0

I was thinking if i could get disk and storage pool related info using msft api.

Is there any limitation to wmi on winpe4.0 or i am missing out something?

I think get-physicaldisk will be using wmi query internally?

Thanks in advance...



Viewing all articles
Browse latest Browse all 5362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>