Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

remove "titles"

$
0
0

1) how to i remove the title from :

PS C:\Users\peleg> get-process myexe1 Where-Object { $_.path -Like "*MailText*"} | select name, path,id, @{l="W
orking Set(Memory) (MB)"; e={$_.workingset/1mb}} -Last 1 | format-table id,name,path,"Working Set(Memory) (MB)" -autosiz
e

iget titles in the result :

Id Name         Path                                                         Working Set(Memory) (MB)
-- ----         ----                                                         ------------------------

how can i remove them?

2) can i give diffrent name i nthe select :

select name, path,id, @{l="W
orking Set(Memory) (MB)"; e={$_.workingset/1mb}}

can i do like in sql somthing like this :

"Working Set(Memory) (MB)" as column1

3) whats the "e" used for in :  e={$_.workingset/1mb}


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>