Issue in export Array to CSV file
问题 I have list of machine in text file and I am trying to get the details of physical drives, OS architecture and physical memory. With the help of Matt (SO user) here is the powershell script. $server = Get-Content .\Server.txt #$infoObject11 = @{} $infoObject11 = @{} foreach ($server in $servers) { # Gather all wmi drives query at once $alldisksInfo = Get-WmiObject -Query "SELECT * FROM Win32_DiskDrive" -ComputerName $server -ErrorAction SilentlyContinue | Group-Object __Server # Figure out