Skip to content

Add monitor orientation & resolution cmdlet#17

Merged
PrzemyslawKlys merged 2 commits intov2-speedygonzalesfrom
extend-monitorservice-with-resolution-and-orientation-method
Jun 18, 2025
Merged

Add monitor orientation & resolution cmdlet#17
PrzemyslawKlys merged 2 commits intov2-speedygonzalesfrom
extend-monitorservice-with-resolution-and-orientation-method

Conversation

@PrzemyslawKlys
Copy link
Copy Markdown
Member

Summary

  • add DisplayOrientation enum
  • support setting monitor resolution and orientation
  • expose helper methods in Monitors
  • implement Set-DesktopResolution cmdlet
  • export the new cmdlet in the module manifest
  • add C# and PowerShell tests for the new cmdlet
  • demonstrate resolution/orientation API in example app

Testing

  • dotnet build Sources/DesktopManager.sln --configuration Debug
  • dotnet test Sources/DesktopManager.sln --no-build --verbosity minimal
  • pwsh -NoProfile -Command "Invoke-Pester -Path PowerShell.Tests -CI" (fails: Invoke-Pester not found)

https://chatgpt.com/codex/tasks/task_e_6851d185f658832eac846232d6fce21f

@PrzemyslawKlys PrzemyslawKlys changed the base branch from master to v2-speedygonzales June 18, 2025 06:40
@PrzemyslawKlys PrzemyslawKlys merged commit b9d3104 into v2-speedygonzales Jun 18, 2025
6 checks passed
@PrzemyslawKlys PrzemyslawKlys deleted the extend-monitorservice-with-resolution-and-orientation-method branch June 18, 2025 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant