René's URL Explorer Experiment


Title: Emit warning if `ConvertTo-Json` exceeds `-Depth` value by SteveL-MSFT · Pull Request #13692 · PowerShell/PowerShell · GitHub

Open Graph Title: Emit warning if `ConvertTo-Json` exceeds `-Depth` value by SteveL-MSFT · Pull Request #13692 · PowerShell/PowerShell

X Title: Emit warning if `ConvertTo-Json` exceeds `-Depth` value by SteveL-MSFT · Pull Request #13692 · PowerShell/PowerShell

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

Open Graph Description: PR Summary When using ConvertTo-Json, the default -Depth value is 2 to avoid recursion for objects like Services on Windows. Users who do not set a deep enough depth may be losing data they may no...

X Description: PR Summary When using ConvertTo-Json, the default -Depth value is 2 to avoid recursion for objects like Services on Windows. Users who do not set a deep enough depth may be losing data they may no...

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

X: @github

direct link

Domain: github.com

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:1677e05e-c934-13fb-2ac0-396b8014467a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA3F8:273DA9:DD7D46:125C853:6A5199FA
html-safe-noncec945ab193a7143a67df888795f6db7cc0b3b0286dca56b668ba3270b2d2fa9b9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0Y4OjI3M0RBOTpERDdENDY6MTI1Qzg1Mzo2QTUxOTlGQSIsInZpc2l0b3JfaWQiOiIxMTc3OTM5NTE0Nzk2MTIwNTcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacae5c9bb16f0408ceb50fd3bbede22aa74db5531aaaee2533374dbf6aa97525f2
hovercard-subject-tagpull_request:492775199
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/13692/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/94886a32523a8873fdae9e4c1538e73f1437bcaec6db59508acfc2cadd238f6f/PowerShell/PowerShell/pull/13692
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/94886a32523a8873fdae9e4c1538e73f1437bcaec6db59508acfc2cadd238f6f/PowerShell/PowerShell/pull/13692
og:image:altPR Summary When using ConvertTo-Json, the default -Depth value is 2 to avoid recursion for objects like Services on Windows. Users who do not set a deep enough depth may be losing data they may no...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSteveL-MSFT
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/13692#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F13692
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
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%2F13692
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/pull/13692
Reloadhttps://github.com/PowerShell/PowerShell/pull/13692
Reloadhttps://github.com/PowerShell/PowerShell/pull/13692
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/13692
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.3k 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 285 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
iSazonovhttps://github.com/iSazonov
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SteveL-MSFT:json-depthhttps://github.com/SteveL-MSFT/PowerShell/tree/json-depth
Conversationhttps://github.com/PowerShell/PowerShell/pull/13692
Commits4 (4)https://github.com/PowerShell/PowerShell/pull/13692/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/13692/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/13692/files
Emit warning if ConvertTo-Json exceeds -Depth valuehttps://github.com/PowerShell/PowerShell/pull/13692#top
iSazonovhttps://github.com/iSazonov
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SteveL-MSFT:json-depthhttps://github.com/SteveL-MSFT/PowerShell/tree/json-depth
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
Sep 25, 2020https://github.com/PowerShell/PowerShell/pull/13692#issue-708565458
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/13692
#8393https://github.com/PowerShell/PowerShell/issues/8393
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/13692
https://github.com/SteveL-MSFT
Emit warning if ConvertTo-Json exceeds -Depth valuehttps://github.com/PowerShell/PowerShell/pull/13692/commits/a65e2171758db1cc91ef5d91531340c0a4d6be4c
a65e217https://github.com/PowerShell/PowerShell/pull/13692/commits/a65e2171758db1cc91ef5d91531340c0a4d6be4c
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
daxian-dbwhttps://github.com/daxian-dbw
September 25, 2020 01:05https://github.com/PowerShell/PowerShell/pull/13692#event-3805610505
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
iSazonovhttps://github.com/iSazonov
Sep 25, 2020https://github.com/PowerShell/PowerShell/pull/13692#event-3805610521
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Sep 25, 2020https://github.com/PowerShell/PowerShell/pull/13692#issuecomment-698702266
@SteveL-MSFThttps://github.com/SteveL-MSFT
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/13692
https://github.com/SteveL-MSFT
Fix Codacy and XUnit issuehttps://github.com/PowerShell/PowerShell/pull/13692/commits/ec01bdf16b77d7a6e11cae7c1cd3908138ac05ad
ec01bdfhttps://github.com/PowerShell/PowerShell/pull/13692/commits/ec01bdf16b77d7a6e11cae7c1cd3908138ac05ad
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
Sep 25, 2020https://github.com/PowerShell/PowerShell/pull/13692#issuecomment-698723939
@iSazonovhttps://github.com/iSazonov
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/13692
SteveL-MSFThttps://github.com/SteveL-MSFT
September 25, 2020 07:09https://github.com/PowerShell/PowerShell/pull/13692#commits-pushed-343dfe5
https://github.com/SteveL-MSFT
Update securestring testhttps://github.com/PowerShell/PowerShell/pull/13692/commits/343dfe58a0c801557b9dc0671debb19c8423f6ea
343dfe5https://github.com/PowerShell/PowerShell/pull/13692/commits/343dfe58a0c801557b9dc0671debb19c8423f6ea
https://github.com/SteveL-MSFT
Suppress scriptanalyzer plain text rule in testhttps://github.com/PowerShell/PowerShell/pull/13692/commits/dca6317d72482497a976eb01575ccfcf16721fe3
dca6317https://github.com/PowerShell/PowerShell/pull/13692/commits/dca6317d72482497a976eb01575ccfcf16721fe3
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
7.1-Considerhttps://github.com/PowerShell/PowerShell/milestone/73
Sep 25, 2020https://github.com/PowerShell/PowerShell/pull/13692#event-3808419293
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Sep 25, 2020 https://github.com/PowerShell/PowerShell/pull/13692#pullrequestreview-496590092
View reviewed changes https://github.com/PowerShell/PowerShell/pull/13692/files/dca6317d72482497a976eb01575ccfcf16721fe3
test/powershell/Modules/Microsoft.PowerShell.Security/SecureString.Tests.ps1https://github.com/PowerShell/PowerShell/pull/13692/files/dca6317d72482497a976eb01575ccfcf16721fe3#diff-bf9d1d91fc1e5ef6d65da99ab966d63b882fbe54f0370aea6ab81b5e207309ba
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/13692
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Sep 25, 2020 https://github.com/PowerShell/PowerShell/pull/13692#pullrequestreview-496602298
View reviewed changes https://github.com/PowerShell/PowerShell/pull/13692/files/dca6317d72482497a976eb01575ccfcf16721fe3
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
Sep 25, 2020 https://github.com/PowerShell/PowerShell/pull/13692#ref-pullrequest-706410044
Add -SkipLimitCheck switch to Import-PowerShellDataFile #13672 https://github.com/PowerShell/PowerShell/pull/13672
https://github.com/rjmholt
rjmholthttps://github.com/rjmholt
Sep 28, 2020 https://github.com/PowerShell/PowerShell/pull/13692#pullrequestreview-497179844
View reviewed changes https://github.com/PowerShell/PowerShell/pull/13692/files/dca6317d72482497a976eb01575ccfcf16721fe3
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
9bf512fhttps://github.com/PowerShell/PowerShell/commit/9bf512ff5d6b9803c1098b71bbbd1b07338692fa
Sep 28, 2020https://github.com/PowerShell/PowerShell/pull/13692#event-3815409149
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
CL-General https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
Sep 28, 2020https://github.com/PowerShell/PowerShell/pull/13692#event-3815410139
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
September 28, 2020 16:29https://github.com/PowerShell/PowerShell/pull/13692#event-3815439578
https://github.com/heilkn
heilknhttps://github.com/heilkn
Sep 28, 2020https://github.com/PowerShell/PowerShell/pull/13692#issuecomment-700173815
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/13692
https://github.com/adityapatwardhan
adityapatwardhanhttps://github.com/adityapatwardhan
7.1-Considerhttps://github.com/PowerShell/PowerShell/milestone/73
Oct 19, 2020https://github.com/PowerShell/PowerShell/pull/13692#event-3894585384
https://github.com/adityapatwardhan
adityapatwardhanhttps://github.com/adityapatwardhan
BackPort-7.0.x-Consider https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackPort-7.0.x-Consider
BackPort-7.1.x-Consider https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackPort-7.1.x-Consider
Oct 19, 2020https://github.com/PowerShell/PowerShell/pull/13692#event-3894586361
https://github.com/ghost
ghosthttps://github.com/ghost
Oct 21, 2020https://github.com/PowerShell/PowerShell/pull/13692#issuecomment-713814261
Release Noteshttps://github.com/PowerShell/PowerShell/releases/tag/v7.1.0-rc.2
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/13692
Oct 21, 2020 https://github.com/PowerShell/PowerShell/pull/13692#ref-issue-387134203
Consider removing the default -Depth value from ConvertTo-Json #8393 https://github.com/PowerShell/PowerShell/issues/8393
https://github.com/adityapatwardhan
adityapatwardhanhttps://github.com/adityapatwardhan
Backport-7.1.x-Done https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackport-7.1.x-Done
BackPort-7.1.x-Approved https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackPort-7.1.x-Approved
Oct 27, 2020https://github.com/PowerShell/PowerShell/pull/13692#event-3928287873
https://github.com/ghost
ghosthttps://github.com/ghost
Nov 17, 2020https://github.com/PowerShell/PowerShell/pull/13692#issuecomment-729266039
Release Noteshttps://github.com/PowerShell/PowerShell/releases/tag/v7.2.0-preview.1
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/13692
https://github.com/sdwheeler
sdwheelerhttps://github.com/sdwheeler
Jan 25, 2021 https://github.com/PowerShell/PowerShell/pull/13692#ref-issue-793652211
Emit warning if ConvertTo-Json exceeds -Depth value MicrosoftDocs/PowerShell-Docs#7172 https://github.com/MicrosoftDocs/PowerShell-Docs/issues/7172
https://github.com/adityapatwardhan
adityapatwardhanhttps://github.com/adityapatwardhan
Mar 2, 2021https://github.com/PowerShell/PowerShell/pull/13692#issuecomment-789264366
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/13692
https://github.com/adityapatwardhan
adityapatwardhanhttps://github.com/adityapatwardhan
BackPort-7.0.x-Consider https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackPort-7.0.x-Consider
Mar 2, 2021https://github.com/PowerShell/PowerShell/pull/13692#event-4398418278
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%2F13692
https://github.com/iSazonov
iSazonov https://github.com/iSazonov
https://github.com/PowerShell/PowerShell/pull/13692/files/dca6317d72482497a976eb01575ccfcf16721fe3
https://github.com/daxian-dbw
daxian-dbw https://github.com/daxian-dbw
https://github.com/rjmholt
rjmholt https://github.com/rjmholt
https://github.com/PowerShell/PowerShell/pull/13692/files/dca6317d72482497a976eb01575ccfcf16721fe3
https://github.com/iSazonov
iSazonov https://github.com/iSazonov
Backport-7.1.x-Done https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackport-7.1.x-Done
CL-General https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
Consider removing the default -Depth value from ConvertTo-Json https://github.com/PowerShell/PowerShell/issues/8393
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/13692
https://github.com/SteveL-MSFT
https://github.com/iSazonov
https://github.com/heilkn
https://github.com/adityapatwardhan
https://github.com/rjmholt
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.