$ErrorActionPreference='SilentlyContinue'
'=== BACKUP-ISH PROCESSES ==='
Get-Process | Where-Object { $_.ProcessName -match 'cbb|CBB|robocopy|wbengine|veeam|reflect|acronis|rclone|restic|freefilesync|syncback|disk2vhd|macrium' } | Select-Object ProcessName,Id,StartTime | Format-Table -AutoSize | Out-String
'=== MSP360 INSTALLED ==='
Test-Path 'C:\Program Files\Arizona Computer Guru\Online Backup\cbb.exe'
'=== MSP360 RECENT LOGS ==='
Get-ChildItem 'C:\ProgramData\Online Backup\Logs' -Recurse -Filter *.log | Sort-Object LastWriteTime -Descending | Select-Object -First 5 FullName,LastWriteTime,Length | Format-List | Out-String
'=== WBADMIN ==='
wbadmin get status | Out-String
'=== WHO IS ON ==='
query user | Out-String
