TaskScheduler.Types.ps1xml
<Types>
<Type> <Name>System.__ComObject#{9c86f320-dee3-4dd1-b972-a303f26b061e}</Name> <Members> <ScriptProperty> <Name>Status</Name> <GetScriptBlock> switch ($this.State) { 1 { return "Disabled" } 2 { return "Queued" } 3 { return "Ready" } 4 { return "Running" } default { return "Unknown" } } </GetScriptBlock> </ScriptProperty> </Members> </Type> </Types> |