I am a new learner for powershell , and I run into one problem , I run this command get-process |gm , and I find that in the member list , we have event , method , scriptsproperty ,propertyset ,anyone can help to share with some examples for them ? how to use them ?also how to read the definition .
Disposed Event System.EventHandler Disposed(System.Object, System.EventArgs)
ErrorDataReceived Event System.Diagnostics.DataReceivedEventHandler ErrorDataReceived(System.Objec…
Exited Event System.EventHandler Exited(System.Object, System.EventArgs)
OutputDataReceived Event System.Diagnostics.DataReceivedEventHandler OutputDataReceived(System.Obje…
BeginErrorReadLine Method void BeginErrorReadLine()
BeginOutputReadLine Method void BeginOutputReadLine()
CancelErrorRead Method void CancelErrorRead()
CancelOutputRead Method void CancelOutputRead()
Close Method void Close()
CloseMainWindow Method bool CloseMainWindow()
CreateObjRef Method System.Runtime.Remoting.ObjRef CreateObjRef(type requestedType)
Dispose Method void Dispose(), void IDisposable.Dispose()
Equals Method bool Equals(System.Object obj)
GetHashCode Method int GetHashCode()
GetLifetimeService Method System.Object GetLifetimeService()
GetType Method type GetType()
InitializeLifetimeService Method System.Object InitializeLifetimeService()
Kill Method void Kill()
Refresh Method void Refresh()
Start Method bool Start()
ToString Method string ToString()
WaitForExit Method bool WaitForExit(int milliseconds), void WaitForExit()
ration PropertySet PSConfiguration {Name, Id, PriorityClass, FileVersion}
es PropertySet PSResources {Name, Id, Handlecount, WorkingSet, NonPagedMemorySize, PagedM…
ScriptProperty System.Object Company {get=$this.Mainmodule.FileVersionInfo.CompanyName;}
ScriptProperty System.Object CPU {get=$this.TotalProcessorTime.TotalSeconds;}
on ScriptProperty System.Object Description {get=$this.Mainmodule.FileVersionInfo.FileDescri…
on ScriptProperty System.Object FileVersion {get=$this.Mainmodule.FileVersionInfo.FileVersion;}
ScriptProperty System.Object Path {get=$this.Mainmodule.FileName;}
ScriptProperty System.Object Product {get=$this.Mainmodule.FileVersionInfo.ProductName;}
rsion ScriptProperty System.Object ProductVersion {get=$this.Mainmodule.FileVersionInfo.Product…