René's URL Explorer Experiment


Title: Fix for `Get-Content -ReadCount 0` behavior when `-TotalCount` is set by eugenesmlv · Pull Request #10749 · PowerShell/PowerShell · GitHub

Open Graph Title: Fix for `Get-Content -ReadCount 0` behavior when `-TotalCount` is set by eugenesmlv · Pull Request #10749 · PowerShell/PowerShell

X Title: Fix for `Get-Content -ReadCount 0` behavior when `-TotalCount` is set by eugenesmlv · Pull Request #10749 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: PR Summary -ReadCount 0 parameter of Get-Count command is now respect -TotalCount <n> parameter PR Context Fix #10707 PR Checklist PR has a meaningful title Use the present tense and imper...

X Description: PR Summary -ReadCount 0 parameter of Get-Count command is now respect -TotalCount &lt;n&gt; parameter PR Context Fix #10707 PR Checklist PR has a meaningful title Use the present tense a...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:de5b80b0-dbd7-523d-2840-20afd3e856cb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE440:E679:B9059D:1003D4B:6AFD41AB
html-safe-nonce16e7e21b0602679f20df751cc0a323135cf046ce4a6164b15ff1cc3941531dc3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDQwOkU2Nzk6QjkwNTlEOjEwMDNENEI6NkFGRDQxQUIiLCJ2aXNpdG9yX2lkIjoiMzQ0Njk5NDkyNjUzOTk4MTIyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc128349173330557e4a6ec1506442ddc948484063495b9fc82deeee2cc6f832f
hovercard-subject-tagpull_request:326416774
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/10749/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4b443d563f573e4856fe8532ac59af6495146acb2a4604b274c914a5142d3a5c/PowerShell/PowerShell/pull/10749
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4b443d563f573e4856fe8532ac59af6495146acb2a4604b274c914a5142d3a5c/PowerShell/PowerShell/pull/10749
og:image:altPR Summary -ReadCount 0 parameter of Get-Count command is now respect -TotalCount <n> parameter PR Context Fix #10707 PR Checklist PR has a meaningful title Use the present tense and imper...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeugenesmlv
hostnamegithub.com
expected-hostnamegithub.com
Nonebdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release556dd37bb0aceffb25724e151b5d858b3265b40b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/10749#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F10749
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F10749
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/pull/10749
Reloadhttps://github.com/PowerShell/PowerShell/pull/10749
Reloadhttps://github.com/PowerShell/PowerShell/pull/10749
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests364 (364)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
Aditya Patwardhan (adityapatwardhan)https://github.com/adityapatwardhan
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
eugenesmlv:get-content-read-count-zerohttps://github.com/eugenesmlv/PowerShell/tree/get-content-read-count-zero
Conversationhttps://github.com/PowerShell/PowerShell/pull/10749
Commits2 (2)https://github.com/PowerShell/PowerShell/pull/10749/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/10749/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/10749/files
Fix for Get-Content -ReadCount 0 behavior when -TotalCount is sethttps://github.com/PowerShell/PowerShell/pull/10749#top
Aditya Patwardhan (adityapatwardhan)https://github.com/adityapatwardhan
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
eugenesmlv:get-content-read-count-zerohttps://github.com/eugenesmlv/PowerShell/tree/get-content-read-count-zero
https://github.com/eugenesmlv
Eugene Samoylov (eugenesmlv)https://github.com/eugenesmlv
Oct 9, 2019https://github.com/PowerShell/PowerShell/pull/10749#issue-504854648
#10707https://github.com/PowerShell/PowerShell/issues/10707
PR has a meaningful titlehttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Summarized changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright headerhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Work in Progresshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress
Breaking changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes
Experimental feature(s) neededhttps://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md
Documentation neededhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Make sure you've added a new test if existing tests do not effectively test the code changedhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting
PowerShell Editor Serviceshttps://github.com/PowerShell/PowerShellEditorServices
PowerShell extensionhttps://github.com/PowerShell/vscode-powershell
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
EditorSyntaxhttps://github.com/PowerShell/EditorSyntax
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10749
https://github.com/eugenesmlv
Fix -ReadCount 0 behaviorhttps://github.com/PowerShell/PowerShell/pull/10749/commits/e6b22b1f26eeb2d606874975ca849e28829c8458
e6b22b1https://github.com/PowerShell/PowerShell/pull/10749/commits/e6b22b1f26eeb2d606874975ca849e28829c8458
https://github.com/eugenesmlv
Eugene Samoylov (eugenesmlv)https://github.com/eugenesmlv
Aditya Patwardhan (adityapatwardhan)https://github.com/adityapatwardhan
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
code ownershttps://github.com/PowerShell/PowerShell/blob/4a4dc4c7518723ffbc848ecd073c223e25e3f3d7/.github/CODEOWNERS#L30
October 9, 2019 19:44https://github.com/PowerShell/PowerShell/pull/10749#event-2700259008
https://github.com/msftclas
Microsoft Contribution License Agreements (msftclas)https://github.com/msftclas
Oct 9, 2019https://github.com/PowerShell/PowerShell/pull/10749#issuecomment-540159293
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10749
https://cla.opensource.microsoft.com/PowerShell/PowerShell?pullRequest=10749
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10749
https://github.com/vexx32
Rain Sallow (/u/ta11ow) (vexx32)https://github.com/vexx32
Oct 9, 2019 https://github.com/PowerShell/PowerShell/pull/10749#pullrequestreview-299669219
View reviewed changes https://github.com/PowerShell/PowerShell/pull/10749/files/e6b22b1f26eeb2d606874975ca849e28829c8458
test/powershell/Modules/Microsoft.PowerShell.Management/Get-Content.Tests.ps1https://github.com/PowerShell/PowerShell/pull/10749/files/e6b22b1f26eeb2d606874975ca849e28829c8458#diff-2c1af6e810bc955906f6ed32a86c1e8123495645dc76f5cfe75673f61c49bec9
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10749
Waiting on Author https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22
Oct 9, 2019https://github.com/PowerShell/PowerShell/pull/10749#event-2700349475
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
Oct 10, 2019 https://github.com/PowerShell/PowerShell/pull/10749#pullrequestreview-299832359
View reviewed changes https://github.com/PowerShell/PowerShell/pull/10749/files/e6b22b1f26eeb2d606874975ca849e28829c8458
test/powershell/Modules/Microsoft.PowerShell.Management/Get-Content.Tests.ps1https://github.com/PowerShell/PowerShell/pull/10749/files/e6b22b1f26eeb2d606874975ca849e28829c8458#diff-2c1af6e810bc955906f6ed32a86c1e8123495645dc76f5cfe75673f61c49bec9
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10749
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
CL-General https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
Oct 10, 2019https://github.com/PowerShell/PowerShell/pull/10749#event-2701410540
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
7.0.0-preview.5https://github.com/PowerShell/PowerShell/milestone/71
Oct 10, 2019https://github.com/PowerShell/PowerShell/pull/10749#event-2701410596
Waiting on Author https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Waiting%20on%20Author%22
Oct 10, 2019https://github.com/PowerShell/PowerShell/pull/10749#event-2701535478
https://github.com/eugenesmlv
Change test namehttps://github.com/PowerShell/PowerShell/pull/10749/commits/31e5318b2b70708062ee087b065c5ba6ffe89a08
31e5318https://github.com/PowerShell/PowerShell/pull/10749/commits/31e5318b2b70708062ee087b065c5ba6ffe89a08
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
Oct 10, 2019 https://github.com/PowerShell/PowerShell/pull/10749#pullrequestreview-300274658
View reviewed changes https://github.com/PowerShell/PowerShell/pull/10749/files/31e5318b2b70708062ee087b065c5ba6ffe89a08
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
Aditya Patwardhan (adityapatwardhan)https://github.com/adityapatwardhan
Oct 10, 2019https://github.com/PowerShell/PowerShell/pull/10749#event-2703774198
https://github.com/vexx32
Rain Sallow (/u/ta11ow) (vexx32)https://github.com/vexx32
Oct 11, 2019 https://github.com/PowerShell/PowerShell/pull/10749#pullrequestreview-300653658
View reviewed changes https://github.com/PowerShell/PowerShell/pull/10749/files/31e5318b2b70708062ee087b065c5ba6ffe89a08
https://github.com/adityapatwardhan
Aditya Patwardhan (adityapatwardhan)https://github.com/adityapatwardhan
Oct 15, 2019 https://github.com/PowerShell/PowerShell/pull/10749#pullrequestreview-301601854
View reviewed changes https://github.com/PowerShell/PowerShell/pull/10749/files/31e5318b2b70708062ee087b065c5ba6ffe89a08
https://github.com/adityapatwardhan
Aditya Patwardhan (adityapatwardhan)https://github.com/adityapatwardhan
d528bf5https://github.com/PowerShell/PowerShell/commit/d528bf5d3df65655a027cdb46d6734f91518bc7b
Oct 15, 2019https://github.com/PowerShell/PowerShell/pull/10749#event-2712186455
https://github.com/adityapatwardhan
Aditya Patwardhan (adityapatwardhan)https://github.com/adityapatwardhan
Oct 15, 2019https://github.com/PowerShell/PowerShell/pull/10749#issuecomment-541985422
Eugene Samoylov (@eugenesmlv)https://github.com/eugenesmlv
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10749
https://github.com/ghost
Deleted user (ghost)https://github.com/ghost
Oct 23, 2019https://github.com/PowerShell/PowerShell/pull/10749#issuecomment-545591850
Release Noteshttps://github.com/PowerShell/PowerShell/releases/tag/v7.0.0-preview.5
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10749
Oct 23, 2019 https://github.com/PowerShell/PowerShell/pull/10749#ref-issue-502905414
Get-Content -ReadCount 0 does not respect -TotalCount #10707 https://github.com/PowerShell/PowerShell/issues/10707
https://github.com/eugenesmlv
Eugene Samoylov (eugenesmlv)https://github.com/eugenesmlv
November 17, 2019 15:56https://github.com/PowerShell/PowerShell/pull/10749#event-2805498683
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
Feb 11, 2020 https://github.com/PowerShell/PowerShell/pull/10749#ref-issue-563408545
Get-Content -ReadCount 0 combined with -Last / -Tail seems to read ALL lines internally #11830 https://github.com/PowerShell/PowerShell/issues/11830
Thatgfsj (Thatgfsj)https://github.com/Thatgfsj
Aug 6, 2026 https://github.com/PowerShell/PowerShell/pull/10749#ref-commit-a3a185d
https://github.com/eugenesmlv
https://github.com/adityapatwardhan
Fix forhttps://github.com/Thatgfsj-contribs/PowerShell/commit/a3a185d6eee10017e3f8db6366bab5892b9dd0fb
Get-Content -ReadCount 0https://github.com/Thatgfsj-contribs/PowerShell/commit/a3a185d6eee10017e3f8db6366bab5892b9dd0fb
behavior whenhttps://github.com/Thatgfsj-contribs/PowerShell/commit/a3a185d6eee10017e3f8db6366bab5892b9dd0fb
-TotalCounthttps://github.com/Thatgfsj-contribs/PowerShell/commit/a3a185d6eee10017e3f8db6366bab5892b9dd0fb
is set (https://github.com/Thatgfsj-contribs/PowerShell/commit/a3a185d6eee10017e3f8db6366bab5892b9dd0fb
…https://github.com/PowerShell/PowerShell/pull/10749
a3a185dhttps://github.com/Thatgfsj-contribs/PowerShell/commit/a3a185d6eee10017e3f8db6366bab5892b9dd0fb
…PowerShell#10749https://github.com/PowerShell/PowerShell/pull/10749
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F10749
https://github.com/adityapatwardhan
Aditya Patwardhan (adityapatwardhan) https://github.com/adityapatwardhan
https://github.com/PowerShell/PowerShell/pull/10749/files/31e5318b2b70708062ee087b065c5ba6ffe89a08
https://github.com/iSazonov
Ilya (iSazonov) https://github.com/iSazonov
https://github.com/PowerShell/PowerShell/pull/10749/files/31e5318b2b70708062ee087b065c5ba6ffe89a08
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw) https://github.com/daxian-dbw
https://github.com/vexx32
Rain Sallow (/u/ta11ow) (vexx32) https://github.com/vexx32
https://github.com/PowerShell/PowerShell/pull/10749/files/31e5318b2b70708062ee087b065c5ba6ffe89a08
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10749
https://github.com/adityapatwardhan
Aditya Patwardhan (adityapatwardhan) https://github.com/adityapatwardhan
CL-General https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
7.0.0-preview.5 https://github.com/PowerShell/PowerShell/milestone/71
Get-Content -ReadCount 0 does not respect -TotalCount https://github.com/PowerShell/PowerShell/issues/10707
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/10749
https://github.com/eugenesmlv
https://github.com/msftclas
https://github.com/adityapatwardhan
https://github.com/iSazonov
https://github.com/vexx32
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.