Dbatools diskspace report

PS C:> $allResults = Get-DbaDiskSpace -ComputerName [servername] -Force | Export-Csv -Path “path” -NoTypeInformation
WARNING: [20:54:34][Get-DbaDiskSpace] Failed to connect to [servername] | Multiple p
rotocol connections were attempted, but no successful connections could be established with the specified compute
r.

Lark,
Welcome to the forum. :wave:t3:

When you post code, sample data, console output or error messages please format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.

Thanks in advance

Guide to Posting Code - Redux <---- Click :point_up_2:t4: :wink:

( !! Sometimes the preformatted text button hides behind the settings gear symbol. :wink: )

Besides that … do you have any question?