Skip to content

[Heads-up] PowerShell provider for device navigation — contribution or separate module? #1

@yotsuda

Description

@yotsuda

Hi @MartinGC94,
Thanks again for merging the recent PR on MonitorConfig #6 — really enjoyed working on it.

While reading through DeviceManager I got interested in exposing the same domain as a PowerShell NavigationCmdletProvider, so navigation would feel like a filesystem:

cd Device:\Net
Get-ChildItem
Get-Item 'Device:\Net\Realtek PCIe 5GbE Family Controller' | Disable-Device
Remove-Item 'Device:\USB\Old USB Device'

Before I start writing, I'd like to check with you on how this should fit in:

  • (a) Contribute provider support to DeviceManager itself, as small focused PRs to keep review manageable.
  • (b) A separate module (working name DeviceDrive) with my own SetupAPI bindings, crediting DeviceManager as the design reference.
  • (c) You'd rather I not pursue this — happy to drop it.

Either (a) or (b) works on my end. Just wanted to give you a heads-up rather than surface it later as a surprise. No rush to reply, and a one-liner is plenty.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions