Jump to content

Recommended Posts

  • Developers
Posted

It seems this statement "If $LogicalDisk.DeviceID = $var[$i] Then" is never true since the array isn't filled, so just add some more FileWrite() statements to the log file to figure out what the exact data is that is tested there.

Jos

 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted (edited)

You can try using WMIExplorer (portable application) to check if the information is actually available  on Windows PE.

It also shows on the bottom of the app which query it used to get the information.

I'm just not sure if the dependencies are all available in Windows PE.

https://wmie.codeplex.com/

Edited by colombeen

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...