# Listing 7: ProcessorInfo1.ps1 # Run the VBScript file. Assign the results to the $vbs variable. $vbs = cscript c:\scripts\processorinfo.vbs # Send the $vbs variable's output down the pipeline. # Filter out the information that isn't processor-related. $vbs | where-object {$_ -notlike "*microsoft*"} | # Replace the registered symbol and write the content. foreach-object { write-host $_.replace("(R)", "(r)") }