Skip to content

Commit e7dd518

Browse files
authored
Improve description of string output (#12472)
1 parent 1e9cfbd commit e7dd518

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

reference/5.1/Microsoft.PowerShell.Management/Get-Clipboard.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 01/08/2023
5+
ms.date: 11/01/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-clipboard?view=powershell-5.1&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
aliases:
@@ -130,7 +130,8 @@ Accept wildcard characters: False
130130
131131
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
132132
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
133-
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
133+
-WarningAction, and -WarningVariable. For more information, see
134+
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
134135
135136
## INPUTS
136137
@@ -142,6 +143,9 @@ You can't pipe objects to this cmdlet.
142143
143144
### System.String
144145
146+
By default, this cmdlet returns the content as an array of strings, one per line. When you use the
147+
**Raw** parameter, it returns a single string containing every line in the file.
148+
145149
### System.IO.FileInfo
146150
147151
### System.IO.Stream

reference/7.4/Microsoft.PowerShell.Management/Get-Clipboard.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 08/30/2024
5+
ms.date: 11/01/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-clipboard?view=powershell-7.4&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
aliases:
@@ -80,7 +80,8 @@ You can't pipe objects to this cmdlet.
8080
8181
### System.String
8282
83-
This cmdlet returns a string containing the contents of the clipboard.
83+
By default, this cmdlet returns the content as an array of strings, one per line. When you use the
84+
**Raw** parameter, it returns a single string containing every line in the file.
8485
8586
## NOTES
8687

reference/7.5/Microsoft.PowerShell.Management/Get-Clipboard.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 08/30/2024
5+
ms.date: 11/01/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-clipboard?view=powershell-7.5&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
aliases:
@@ -80,7 +80,8 @@ You can't pipe objects to this cmdlet.
8080
8181
### System.String
8282
83-
This cmdlet returns a string containing the contents of the clipboard.
83+
By default, this cmdlet returns the content as an array of strings, one per line. When you use the
84+
**Raw** parameter, it returns a single string containing every line in the file.
8485
8586
## NOTES
8687

reference/7.6/Microsoft.PowerShell.Management/Get-Clipboard.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 08/30/2024
5+
ms.date: 11/01/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-clipboard?view=powershell-7.6&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
aliases:
@@ -80,7 +80,8 @@ You can't pipe objects to this cmdlet.
8080
8181
### System.String
8282
83-
This cmdlet returns a string containing the contents of the clipboard.
83+
By default, this cmdlet returns the content as an array of strings, one per line. When you use the
84+
**Raw** parameter, it returns a single string containing every line in the file.
8485
8586
## NOTES
8687

0 commit comments

Comments
 (0)