You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Get-Service is noticeably slower on PS7 than on WinPS5.1 #9871
I just came across this code, where ETS types are added to Get-Service output, and since this issue is related, I wanted to ask a few questions:
Why are the ETS type names prefixed with System.Service.ServiceController and not the actual System.ServiceProcess.ServiceController type? This seems incorrect.
Why are we inserting custom type names for each added NoteProperty? I've used ETS very heavily over the past 12 years, and while I've identified an extended type using one custom ETS name, or perhaps several if I have a hierarchy like a class hierarchy, I've never added one ETS type name per property added. That feels redundant and unnecessary, and I think these types should either be removed or replaced with a single ETS type name of System.ServiceProcess.ServiceController#Extended.
I know these should be logged as an additional issue or two, and I'll do that. I just want confirmation on the issues first since I don't have the background on why these were added with ETS names like this.
Why are the ETS type names prefixed with System.Service.ServiceController and not the actual System.ServiceProcess.ServiceController type? This seems incorrect.
It is tricky bug :-) - no automatic display but direct access works.
For second, the intention was to use this in formatting system views. We could keep this if we make the properties "calculate-only-by-demand" for performance.
microsoft-github-policy-service commented on Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
Activity
iSazonov commentedon Jun 13, 2019
My measure 526 vs 32
iSazonov commentedon Jun 13, 2019
It come from #4907 where we added properties (BinPath, Description, UserName and Delayed Auto Start).
It seems the fix should be to move the properties to ETS and get its on demand only.
kvprasoon commentedon Jun 13, 2019
mine is (pwsh)32 Vs (powershell)1 ms
iSazonov commentedon Jun 13, 2019
PRASOON KARUNAN V (@kvprasoon) I want to have your computer :-))))
kvprasoon commentedon Jun 13, 2019
Ilya (@iSazonov) , srry, I'll have to ask my manager... 😛
KirkMunro commentedon Aug 29, 2019
I just came across this code, where ETS types are added to
Get-Serviceoutput, and since this issue is related, I wanted to ask a few questions:Why are the ETS type names prefixed with
System.Service.ServiceControllerand not the actualSystem.ServiceProcess.ServiceControllertype? This seems incorrect.Why are we inserting custom type names for each added
NoteProperty? I've used ETS very heavily over the past 12 years, and while I've identified an extended type using one custom ETS name, or perhaps several if I have a hierarchy like a class hierarchy, I've never added one ETS type name per property added. That feels redundant and unnecessary, and I think these types should either be removed or replaced with a single ETS type name ofSystem.ServiceProcess.ServiceController#Extended.I know these should be logged as an additional issue or two, and I'll do that. I just want confirmation on the issues first since I don't have the background on why these were added with ETS names like this.
iSazonov commentedon Aug 30, 2019
It is tricky bug :-) - no automatic display but direct access works.
For second, the intention was to use this in formatting system views. We could keep this if we make the properties "calculate-only-by-demand" for performance.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 23, 2023
This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.