René's URL Explorer Experiment


Title: Fix tests running in Azure DevOps by PaulHigin · Pull Request #8220 · PowerShell/PowerShell · GitHub

Open Graph Title: Fix tests running in Azure DevOps by PaulHigin · Pull Request #8220 · PowerShell/PowerShell

X Title: Fix tests running in Azure DevOps by PaulHigin · Pull Request #8220 · PowerShell/PowerShell

Description: PR Summary This change fixes tests that were failing when run in Azure DevOps. Most issues were due to the tests running as non-elevated, and the solution was to add the "RequireAdminOnWindows" tag. This is especially true for remoting tests, where I updated the HelpersRemoting module to create a new remote session, runspace, or invoke-command against a PSCore6 (rather than WindowsPowerShell) endpoint. If the endpoint doesn't exist then it is created. Creating endpoints and connecting to endpoints require elevated privileges, so I made all remoting tests use the "RequireAdminOnWindows" tag. PR Checklist PR has a meaningful title Use the present tense and imperative mood when describing your changes Summarized changes Change is not breaking Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header This PR is ready to merge and is not Work in Progress. If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready. User-facing changes Not Applicable OR User-facing Documentation needed Issue filed - Issue link: Testing - New and feature Not Applicable or can only be tested interactively OR Make sure you've added a new test if existing tests do not effectively test the code changed Add [feature] if the change is significant or affects feature tests

Open Graph Description: PR Summary This change fixes tests that were failing when run in Azure DevOps. Most issues were due to the tests running as non-elevated, and the solution was to add the "RequireAdminOnWindow...

X Description: PR Summary This change fixes tests that were failing when run in Azure DevOps. Most issues were due to the tests running as non-elevated, and the solution was to add the "RequireAdminOnWi...

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/8220

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits/:range(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:1847b0ce-f51c-02f4-f170-467d0935974b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id91B8:223A87:3388D2A:44EDC71:6A6556B6
html-safe-nonce12e267f811155807e71af28f842d69ae1a42e41e55ae95e86125b674c720eb2a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUI4OjIyM0E4NzozMzg4RDJBOjQ0RURDNzE6NkE2NTU2QjYiLCJ2aXNpdG9yX2lkIjoiNDA4NjU1ODc3Mjg2NTM1NzQ5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac885ae18cdc9c7e651448e51480c0bbc263a0a47f19a5e4fb44d6f3766d2abff0
hovercard-subject-tagpull_request:229766415
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e
twitter:imagehttps://avatars.githubusercontent.com/u/14019529?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/14019529?s=400&v=4
og:image:altPR Summary This change fixes tests that were failing when run in Azure DevOps. Most issues were due to the tests running as non-elevated, and the solution was to add the "RequireAdminOnWindow...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release309153364422b3c499922d1a2a6404910a58ed8e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F8220%2Fcommits%2Fc64d8ddea89a50489562080c619a934e6541349e
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F8220%2Fcommits%2Fc64d8ddea89a50489562080c619a934e6541349e
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e
Reloadhttps://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e
Reloadhttps://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e
PowerShell https://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Notifications https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Fork 8.4k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Star 54.5k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Code https://github.com/PowerShell/PowerShell
Issues 1.3k https://github.com/PowerShell/PowerShell/issues
Pull requests 291 https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security and quality 3 https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
Code https://github.com/PowerShell/PowerShell
Issues https://github.com/PowerShell/PowerShell/issues
Pull requests https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security and quality https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FPowerShell%2FPowerShell%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FPowerShell%2FPowerShell%2Fissues%2Fnew%2Fchoose
adityapatwardhanhttps://github.com/adityapatwardhan
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
Conversation 12 https://github.com/PowerShell/PowerShell/pull/8220
Commits 10 https://github.com/PowerShell/PowerShell/pull/8220/commits
Checks 0 https://github.com/PowerShell/PowerShell/pull/8220/checks
Files changed https://github.com/PowerShell/PowerShell/pull/8220/files
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e
Fix tests running in Azure DevOps https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#top
Show all changes 10 commits https://github.com/PowerShell/PowerShell/pull/8220/files
4baddc5 Added Travis FORCE_FEATURE for testing. PaulHigin Nov 1, 2018 https://github.com/PowerShell/PowerShell/pull/8220/commits/4baddc51d321377b1e1fe4d07514be29450724c1
3d69488 Updated remote helper to check for and create/enable remote endpoint PaulHigin Nov 6, 2018 https://github.com/PowerShell/PowerShell/pull/8220/commits/3d694886aaeb7b3996adfe679fdee689b82857a6
6a2cf73 Test changes to address failures PaulHigin Nov 6, 2018 https://github.com/PowerShell/PowerShell/pull/8220/commits/6a2cf73445e3970b47e095f1e6de92ca94e39856
2b1be72 Changes to failing tests PaulHigin Nov 7, 2018 https://github.com/PowerShell/PowerShell/pull/8220/commits/2b1be72a4255ba67c64546cc6803fef477ef8498
c64d8dd More changes PaulHigin Nov 7, 2018 https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e
9daf323 Updated BuildID for DevOps PaulHigin Nov 8, 2018 https://github.com/PowerShell/PowerShell/pull/8220/commits/9daf323507e91c1f164a5904597d767b20a252d6
69c4f5d re-added fix PaulHigin Nov 8, 2018 https://github.com/PowerShell/PowerShell/pull/8220/commits/69c4f5d454adcb86015d1b22d2b7e88381f14b2e
5281e62 Fixed listener compare PaulHigin Nov 8, 2018 https://github.com/PowerShell/PowerShell/pull/8220/commits/5281e627f01fcd0c2919d27b5bebc50e49e0879e
6ecdbf8 Removed verbose output PaulHigin Nov 8, 2018 https://github.com/PowerShell/PowerShell/pull/8220/commits/6ecdbf87396fde1756ab67bb45e22ab0d436c4fb
592e75f Address code review comments adityapatwardhan Nov 9, 2018 https://github.com/PowerShell/PowerShell/pull/8220/commits/592e75f5abd46b6a209fb3a2309a98096137998c
Clear filters https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e
TabCompletion.Tests.ps1 https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-393e1fa171a673ad5e5c3c1f3700ad03d32d46031ffcf72e4eaac1a7c7c46579
Restart-Computer.Tests.ps1 https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-2f60fc6d4faecf6773177ad5a31f2e0b2a36e9b59773f995b34802cdb95b3cad
Start-Process.Tests.ps1 https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-094f651e29514ce0347758c3fe9fe97713481e7dfe0c917e3dbf88006dfaab5e
ImplicitRemotingBatching.Tests.ps1 https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-bdc4d4444253734d9453c8a549148bb5b445ae2b75097163196853c2b5712b6b
Prev https://github.com/PowerShell/PowerShell/pull/8220/commits/2b1be72a4255ba67c64546cc6803fef477ef8498
Next https://github.com/PowerShell/PowerShell/pull/8220/commits/9daf323507e91c1f164a5904597d767b20a252d6
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e
https://github.com/PaulHigin
PaulHiginhttps://github.com/PowerShell/PowerShell/commits?author=PaulHigin
https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7
test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-393e1fa171a673ad5e5c3c1f3700ad03d32d46031ffcf72e4eaac1a7c7c46579
View file https://github.com/PowerShell/PowerShell/blob/c64d8ddea89a50489562080c619a934e6541349e/test/powershell/Host/TabCompletion/TabCompletion.Tests.ps1
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/8220/commits/{{ revealButtonHref }}
https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-393e1fa171a673ad5e5c3c1f3700ad03d32d46031ffcf72e4eaac1a7c7c46579
https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-393e1fa171a673ad5e5c3c1f3700ad03d32d46031ffcf72e4eaac1a7c7c46579
https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-393e1fa171a673ad5e5c3c1f3700ad03d32d46031ffcf72e4eaac1a7c7c46579
https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7
test/powershell/Modules/Microsoft.PowerShell.Management/Restart-Computer.Tests.ps1https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-2f60fc6d4faecf6773177ad5a31f2e0b2a36e9b59773f995b34802cdb95b3cad
View file https://github.com/PowerShell/PowerShell/blob/c64d8ddea89a50489562080c619a934e6541349e/test/powershell/Modules/Microsoft.PowerShell.Management/Restart-Computer.Tests.ps1
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/8220/commits/{{ revealButtonHref }}
https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-2f60fc6d4faecf6773177ad5a31f2e0b2a36e9b59773f995b34802cdb95b3cad
https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-2f60fc6d4faecf6773177ad5a31f2e0b2a36e9b59773f995b34802cdb95b3cad
https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7
test/powershell/Modules/Microsoft.PowerShell.Management/Start-Process.Tests.ps1https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-094f651e29514ce0347758c3fe9fe97713481e7dfe0c917e3dbf88006dfaab5e
View file https://github.com/PowerShell/PowerShell/blob/c64d8ddea89a50489562080c619a934e6541349e/test/powershell/Modules/Microsoft.PowerShell.Management/Start-Process.Tests.ps1
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/8220/commits/{{ revealButtonHref }}
https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-094f651e29514ce0347758c3fe9fe97713481e7dfe0c917e3dbf88006dfaab5e
https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-094f651e29514ce0347758c3fe9fe97713481e7dfe0c917e3dbf88006dfaab5e
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e
https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-094f651e29514ce0347758c3fe9fe97713481e7dfe0c917e3dbf88006dfaab5e
https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7
test/powershell/engine/Remoting/ImplicitRemotingBatching.Tests.ps1https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-bdc4d4444253734d9453c8a549148bb5b445ae2b75097163196853c2b5712b6b
View file https://github.com/PowerShell/PowerShell/blob/c64d8ddea89a50489562080c619a934e6541349e/test/powershell/engine/Remoting/ImplicitRemotingBatching.Tests.ps1
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/8220/commits/{{ revealButtonHref }}
https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-bdc4d4444253734d9453c8a549148bb5b445ae2b75097163196853c2b5712b6b
https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-bdc4d4444253734d9453c8a549148bb5b445ae2b75097163196853c2b5712b6b
https://github.com/PowerShell/PowerShell/pull/8220/commits/c64d8ddea89a50489562080c619a934e6541349e#diff-bdc4d4444253734d9453c8a549148bb5b445ae2b75097163196853c2b5712b6b
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.