Why does System.Diagnostic.Process#HandleCount exist?
See original GitHub issueSteps to reproduce
$a,$b = gps $a.pstypenames
Expected behavior
System.Diagnostic.Process System.Object
Actual behavior
System.Diagnostic.Process#HandleCount System.Diagnostic.Process System.Object
Environment data
jps> $a,$b = get-process
jps> $a.pstypenames
System.Diagnostics.Process#HandleCount
System.Diagnostics.Process
System.Object
jps> $PSVersionTable
Name Value
---- -----
PSVersion 6.0.0-alpha
PSEdition Core
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId v6.0.0-alpha.8
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Process.HandleCount Property (System.Diagnostics)
A process can obtain handles to files, resources, message queues, and many other operating system objects. The operating system reclaims the memory ...
Read more >C# - System.Diagnostics.Process does not exist
I'm having a go at coding some Cortana commands, such as to shut down my computer (for example). I'm following this tutorial here...
Read more >Running system diagnostics
Diagnostics provide a way to examine the state and locate problems with the hardware and operating system environment.
Read more >Revival of the "System Diagnostics" - Homepage
Surprise No 1: The System Diagnostics Home doesn't exist anymore. The first challenge was to find a way of displaying any homepages in...
Read more >How to use the Windows 10 System Diagnostic Report ...
The neat trick with the System Diagnostic Report is that you can use it to gather troubleshooting information while the problem is occurring....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It seems somewhat useful to know the
HandleCountproperty was synthesized and therefore not useful, e.g. we could change the display ofProcessInfoto not show theHandleCountproperty at all if the typename isProcessInfo#HandleInfo.@SteveL-MSFT Clear! Thanks!