February 2017
Beginner
737 pages
15h 22m
English
If you look closely at the ServiceController members listed in the previous figure, you will notice a few members that aren't strictly properties, methods, or events. PowerShell has a mechanism called the Extended Type System that allows PowerShell to add members to classes or to individual objects. In the case of the SystemController objects, PowerShell adds a Name alias for the ServiceName property and a RequiredServices alias for the built-in ServicesDependedOn property.
Your turn!
Use Get-Member with Dir and Get-Process and see what members PowerShell has added. Look these classes up on MSDN and verify that those properties aren't delivered as part of the .NET framework.
Read now
Unlock full access