anitdude Posted September 19, 2015 Posted September 19, 2015 Hi,I've included the PS1 stuff and it appears in my PS commands list, but I do not see any use cases where I can actually get my head around the changes needed to my code to get it to work within autoit.My scripts primarly use wmiobject since they should be compatible with version 1 and all the good stuff doesnt exist yet...I tried to see how to get it to work using the help but tbh, I'm not following.If someone could give me an example using the following script, it should help me see what I am missing.get-wmiobject -query "SELECT * FROM Win32_ComputerSystem" |select-object Name,Domain,Description,NumberOfProcessors,`TotalPhysicalMemory,SystemType |Export-Csv C:\CompStuff.csvThanks in advance for the help
iamtheky Posted September 19, 2015 Posted September 19, 2015 (edited) my powershell efforts, post 3 in thread also does some wmiobject stuff (also a ps1 example if you just wanted to call it rather than translate). ask if you get lost. Edited September 19, 2015 by boththose ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
anitdude Posted September 20, 2015 Author Posted September 20, 2015 (edited) Awesome.This is what I'm looking for. I'm sure I saw more than one example which I could tweak for my needs.Thanks, I'll ask if I have any questions or problems Edited September 20, 2015 by anitdude
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