Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Get-Process -IncludeUserName fails to retrieve the user name for certain processes (.UserName property) #21300

Copy link
Copy link
@mklement0

Description

@mklement0
Issue body actions

Prerequisites

Steps to reproduce

Unlike for some system processes (e.g. wininit), the user name associated with fontdrvhost processes can be retrieved, but as of v7.4.1 isn't reported via Get-Process -IncludeUserName - unlike in Windows PowerShell:

# Run on a W11 machine
#requires -RunAsAdministrator
Get-Process -IncludeUserName fontdrvhost | % UserName

Expected behavior

Font Driver Host\UMFD-0
Font Driver Host\UMFD-1

This is what you get in Windows PowerShell.

Actual behavior

(No output)

Error details

No response

Environment data

PowerShell 7.4.1 / 7.5.0-preview.2 on Windows 11

Visuals

No response

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.