Hello, Im new in the powershell world and have a questions about command sinergy, i want to do a script who will list to me all my AD devices (computers and servers) and then it will be track the capacity of then, i’ll use foreach but i dont know how to use the command “get-Adcomputer” (to list all of my devices) and a disk command (i think in get-ciminstance win32_logicalDisk) and when i try it list me all of my computers it list correcly but only shows me my local storage and i want to “link” twite commands.
Im very noob in powershell and hope any reader can understand my english Thanks!!!