Propertysets
Powershell

There are different ways to get info out with cmdlets (the little programs what makes powershell so powerfull)
Let's give an example.
The following command will show the standard output like in the taskmanager

get-Process

When you want to see other information you can see if there are any Propertysets available with command:

Get-Process | Get-Member -MemberType PropertySet

Output:
TypeName: System.Diagnostics.Process
Name MemberType Definition

PSConfiguration PropertySet PSConfiguration {Name, Id,
PriorityClass, FileVersion}
PSResources PropertySet PSResources {Name, Id, Handlecount,
WorkingSet, NonPagedMemorySize,
PagedMemory…

So that the Get-Process has 2 Propertysets PSConfiguration and PSResources
Now let's say you want to find out what the properties and methods are you first type

$d=(get-Date)
$d|Get-Member

On Me

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License