Experts Exchange connects you with the people and services you need so you can get back to work.
Managing Active Directory does not always have to be complicated. If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why
FOR /F "tokens=2 delims==" %%A IN ('SET Server.') DO (
wmic /node:%%A logicaldisk where drivetype=3 get Name,Size,FreeSpace /format:csv>"%%A.txt"
wmic /node:%%A os get BuildNumber, BuildType, Version /format:csv>>"%%A.txt"
wmic /node:%%A cpu get Name>>"%%A.txt"
Open in new window
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.