Powershell core 在Linux上试用
PS /root> get-process | out-file /tmp/test.csvPS /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]