WatchGuard DNSWatch reduces malware infections by detecting and blocking malicious DNS requests, improving your ability to protect employees from phishing attacks. Learn more about our newest service included in Total Security Suite today!
$a = get-process
$b = $a | select-object $_
$b
$a = Get-Process
$b = $a | select-object @{Name="Custom1";Expression={"Test"}},*
$b
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
$Defaults = $a.psstandardmembers.defau
Then add anything additional you want here:
$Defaults += "MachineName"
Now when you do this, it works:
$a | select $Defaults
And to make it appear a little cleaner:
$a | select $defaults | ft
HTH,
Dale Harris