File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed
7.4/Microsoft.PowerShell.Management
7.5/Microsoft.PowerShell.Management
7.6/Microsoft.PowerShell.Management Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -144,14 +144,19 @@ Accept wildcard characters: True
144144
145145# ## -LiteralPath
146146
147- Specifies a path to one or more locations. The value of **LiteralPath** is used exactly as it is
147+ Specifies a path to one or more locations. The value of **LiteralPath** is used exactly as it's
148148typed. No characters are interpreted as wildcards. If the path includes escape characters, enclose
149149it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters
150150as escape sequences.
151151
152152For more information, see
153153[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
154154
155+ > [!IMPORTANT]
156+ > Using this parameter with untrusted data is a security risk. Only use trusted data with this
157+ > parameter. For more information, see
158+ > [Validate All Inputs](https://top10proactive.owasp.org/archive/2024/the-top-10/c3-validate-input-and-handle-exceptions/).
159+
155160` ` ` yaml
156161Type: System.String[]
157162Parameter Sets: LiteralPath
Original file line number Diff line number Diff line change @@ -144,14 +144,19 @@ Accept wildcard characters: True
144144
145145# ## -LiteralPath
146146
147- Specifies a path to one or more locations. The value of **LiteralPath** is used exactly as it is
147+ Specifies a path to one or more locations. The value of **LiteralPath** is used exactly as it's
148148typed. No characters are interpreted as wildcards. If the path includes escape characters, enclose
149149it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters
150150as escape sequences.
151151
152152For more information, see
153153[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
154154
155+ > [!IMPORTANT]
156+ > Using this parameter with untrusted data is a security risk. Only use trusted data with this
157+ > parameter. For more information, see
158+ > [Validate All Inputs](https://top10proactive.owasp.org/archive/2024/the-top-10/c3-validate-input-and-handle-exceptions/).
159+
155160` ` ` yaml
156161Type: System.String[]
157162Parameter Sets: LiteralPath
Original file line number Diff line number Diff line change @@ -144,14 +144,19 @@ Accept wildcard characters: True
144144
145145# ## -LiteralPath
146146
147- Specifies a path to one or more locations. The value of **LiteralPath** is used exactly as it is
147+ Specifies a path to one or more locations. The value of **LiteralPath** is used exactly as it's
148148typed. No characters are interpreted as wildcards. If the path includes escape characters, enclose
149149it in single quotation marks. Single quotation marks tell PowerShell not to interpret any characters
150150as escape sequences.
151151
152152For more information, see
153153[about_Quoting_Rules](../Microsoft.Powershell.Core/About/about_Quoting_Rules.md).
154154
155+ > [!IMPORTANT]
156+ > Using this parameter with untrusted data is a security risk. Only use trusted data with this
157+ > parameter. For more information, see
158+ > [Validate All Inputs](https://top10proactive.owasp.org/archive/2024/the-top-10/c3-validate-input-and-handle-exceptions/).
159+
155160` ` ` yaml
156161Type: System.String[]
157162Parameter Sets: LiteralPath
You can’t perform that action at this time.
0 commit comments