Working with COUNT PowerShell
Working with COUNT in Powershell how to show the values besides string. $logs = Get-WinEvent -ListLog * "There are $( $ logs.count) total event logs on domain" "There are [{0}] total event logs on domain" -f $logs .Count "There are [{0:N0}] total event logs on domain" -f $logs .Count