Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update-ServiceStatus - fix cross-domain issue by changing ComputerName to PSComputerName #9288

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

fuixx217
Copy link
Contributor

When running commands from a server connected to domainA to a computer running on domainB, the short name is used as documented on #9184. This is my attempt to get this change moving forward as the issue conversation has been quiet.

Type of Change

  • Bug fix (non-breaking change, fixes # )
  • New feature (non-breaking change, adds functionality, fixes # )
  • Breaking change (affects multiple commands or functionality, fixes # )
  • Ran manual Pester test and has passed (.\tests\manual.pester.ps1)
  • Adding code coverage to existing functionality
  • Pester test is included
  • If new file reference added for test, has is been added to github.com/dataplat/appveyor-lab ?
  • Unit test is included
  • Documentation
  • Build system

Purpose

Approach

Commands to test

Screenshots

Learning

When running commands from a server connected to domainA to a computer running on domainB, the short name is used as documented on dataplat#9184.  This is my attempt to get this change moving forward as the issue conversation has been quiet.
@potatoqualitee potatoqualitee changed the title Update Update-ServiceStatus.ps1 Update-ServiceStatus - fix cross-domain issue by changing ComputerName to PSComputerName Mar 27, 2024
@potatoqualitee
Copy link
Member

Thank you! Fix looks interesting. Let's see if we can get these tests to pass. hopefully it was an issue with the runner and not the change.

@potatoqualitee
Copy link
Member

This fix seems reasonable. Thank you for your patience.

@potatoqualitee potatoqualitee merged commit 545e254 into dataplat:development Mar 27, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants