Get- cmdlets to have more expandable properties
Votes from Connect: 5
Original Date Submitted: 5/29/2015 4:10:34 PM
Site Name: PowerShell
Feedback ID: 1378948
It is unlogical a lot of get- powershell commands do not include expanded properties of the objects they retrieve.
for example with the get-service cmdlet: I can use set-service spooler -startuptype automatic
but i cannot use: get-service spooler and see the startuptype.
I NEED to use the Wmi object class for this and for people new to powershell, the wmi objects are a tough subject because they are extremely complex (which is good for experienced users) but it would be better to skip over this old and just not current wmi object class approach and give very common get- operations in Powershell more options to retrieve info.
it's 2015, powershell 5.0 is almost live and we still have to use long wmi commands for something as simple as a startuptype query of a service, this is a riddle to me why this doesn't get added sooner.
Product Studio item created by Connect Synchronizer due to creation of feedback ID 1378948 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=1378948).
Internal BugId: 14525
(Get-Service).StartType was a long-standing request that could not be fulfilled because of limitations in the underlying .NET type (System.ServiceProcess.ServiceController).
Fortunately, the .NET team added a StartType property in .NET 4.6.1, so it’s available on PowerShell 5.0 in Windows 10 and WMF 5.0.