The code for notes.txt is: DESKTOP-46AVB2C write-host "COLORFUL!" -Foreground yellow -BackgroundColor magenta COLORFUL! new-pssession -computername DESKTOP-46AVB2C new-pssession -hostname DESKTOP-46AVB2C Get-CimInstance -class Win32_LogicalDisk -computername localhost ` -filter "drivetype=3" | Sort-Object -property DeviceID | Format-Table -property DeviceID, @{label='FreeSpace(MB)';expression={$_.FreeSpace / 1MB -as [int]}}, @{label='Size(GB)';expression={$_.Size / 1GB -as [int]}}, @{label='%Free';expression={$_.FreeSpace / $_.Size * 100 -as [int]}}