Q132284591 发表于 2018-9-2 07:38:51

Powershell core 在Linux上试用

PS /root> get-process | out-file /tmp/test.csv  
PS /root> $a=import-csv /tmp/test.csv
  
WARNING: One or more headers were not specified. Default names starting with "H" have been used in place of any missing headers.
  
PS /root> ¥                                                                                                                                 PS /root> $a | gm
  
   TypeName: System.Management.Automation.PSCustomObject
  
Name      MemberType   Definition
  
----      ----------   ----------
  
Equals      Method       bool Equals(System.Object obj)
  
GetHashCode Method       int GetHashCode()
  
GetType   Method       type GetType()
  
ToString    Method       string ToString()
  
H1          NoteProperty string H1=HandlesNPM(K)    PM(K)      WS(K)   CPU(s)   IdSI ProcessName


页: [1]
查看完整版本: Powershell core 在Linux上试用