Developers Jos Posted June 14, 2017 Developers Share Posted June 14, 2017 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. Link to comment Share on other sites More sharing options...
colombeen Posted June 14, 2017 Share Posted June 14, 2017 (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 June 14, 2017 by colombeen Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now