PowerShell-Docs icon indicating copy to clipboard operation
PowerShell-Docs copied to clipboard

Depth parameter is not supported for this cmdlet

Open HaloX69 opened this issue 5 years ago • 1 comments

This documentation is incorrect. It indicates that this cmdlet supports the Depth parameter, but this parameter is only supported in ConvertTo-Json. Please correct this misleading information.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

HaloX69 avatar Mar 22 '21 16:03 HaloX69

You are looking at the documentation for PowerShell 7.1, which includes that parameter. That parameter is not available in PowerShell 5.1. Please see https://docs.microsoft.com/powershell/scripting/how-to-use-docs

sdwheeler avatar Mar 22 '21 17:03 sdwheeler