Add a new column to output

Use Select or Select-Object to filter the output and also to add extra columns as shown below.

 get-mpcomputerstatus | Select AntivirusSignatureAge,AntivirusSignatureLastUpdated,AntivirusSignatureVersion,@{Name='ComputerName';Expression={$env:ComputerName}}

 

Reference: StackOverFlow

Leave a comment