I have around 200 servers and I need to get the disk space & logical drive space details (free space, used space & total space).
Here is my PowerShell query.
I Have below script: And I am looking for help to convert the output to Excel format
$Pather = Get-Content C:\Servers.txt foreach($Path in $Pather) { (Get-Acl $Path).access | ft $path,IdentityReference,FileSystemRights,AccessControlType,IsInherited -auto }