Skip to content

Commit 91f8d89

Browse files
sdwheelerDCtheGeek
authored andcommitted
WMF content reorg (#4307)
* WMF content reorg * fix broken links * delete unneeded images * updates and redirects * adding redirections * fix renamed file link * expand what's new node of TOC
1 parent 9f223b0 commit 91f8d89

File tree

123 files changed

+12371
-15262
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+12371
-15262
lines changed

.openpublishing.redirection.json

Lines changed: 9654 additions & 9203 deletions
Large diffs are not rendered by default.

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

Lines changed: 38 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
---
2-
ms.date: 06/09/2017
3-
schema: 2.0.0
4-
locale: en-us
5-
keywords: powershell,cmdlet
6-
online version: http://go.microsoft.com/fwlink/?LinkId=526219
7-
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
8-
title: Get-Clipboard
2+
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
3+
keywords: powershell,cmdlet
4+
locale: en-us
5+
Module Name: Microsoft.PowerShell.Management
6+
ms.date: 05/15/2019
7+
online version: http://go.microsoft.com/fwlink/?LinkId=526219
8+
schema: 2.0.0
9+
title: Get-Clipboard
910
---
1011
# Get-Clipboard
1112

@@ -20,34 +21,49 @@ Get-Clipboard [-Format <ClipboardFormat>] [-TextFormatType <TextDataFormat>] [-R
2021

2122
## DESCRIPTION
2223

23-
The **Get-Clipboard** cmdlet gets the current Windows clipboard entry.
24+
The `Get-Clipboard` cmdlet gets the current Windows clipboard entry.
2425

2526
## EXAMPLES
2627

2728
### Example 1: Get the content of the clipboard and display it to the command-line
2829

30+
In this example we have right-clicked on an image in a browser and chose the **Copy** action. The
31+
following command displays the link, as a URL, of the image that is stored in the clipboard.
32+
33+
```powershell
34+
Get-Clipboard
2935
```
30-
PS C:\> Get-Clipboard
31-
This is a test string.
36+
37+
```Output
38+
https://en.wikipedia.org/wiki/PowerShell
3239
```
3340

34-
This command displays the contents of the clipboard to the command-line.
41+
### Example 2: Get the content of the clipboard in a specific format
3542

36-
### Example 2: Get the content of the clipboard and display it to the command-line
43+
In this example we copied files to the clipboard in Windows Explorerby selecting them and pressing
44+
<kbd>Ctrl-C</kbd>. Using the following command, you can access the contents of the clipboard as a
45+
list of files:
3746

47+
```powershell
48+
Get-Clipboard -Format FileDropList
3849
```
39-
PS C:\> Get-Clipboard
40-
https://en.wikipedia.org/wiki/PowerShell
41-
```
4250

43-
This command displays the link, as a URL, of the image that is stored in the clipboard.
51+
```Output
52+
Directory: C:\Git\PS-Docs\PowerShell-Docs\wmf
53+
54+
Mode LastWriteTime Length Name
55+
---- ------------- ------ ----
56+
-a---- 5/7/2019 1:11 PM 10010 TOC.yml
57+
-a---- 11/18/2016 10:10 AM 53 md.style
58+
-a---- 5/6/2019 9:32 AM 4177 overview.md
59+
-a---- 6/28/2018 2:28 PM 345 README.md
60+
```
4461

4562
## PARAMETERS
4663

4764
### -Format
4865

49-
Specifies the type, or format, of the clipboard.
50-
The acceptable values for this parameter are:
66+
Specifies the type, or format, of the clipboard. The acceptable values for this parameter are:
5167

5268
- Text
5369
- FileDropList
@@ -85,8 +101,7 @@ Accept wildcard characters: False
85101
86102
### -TextFormatType
87103
88-
Specifies the text data format type of the clipboard.
89-
The acceptable values for this parameter are:
104+
Specifies the text data format type of the clipboard. The acceptable values for this parameter are:
90105
91106
- Text
92107
- UnicodeText
@@ -109,7 +124,9 @@ Accept wildcard characters: False
109124
110125
### CommonParameters
111126
112-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
127+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
128+
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
129+
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
113130
114131
## INPUTS
115132

reference/5.0/Microsoft.PowerShell.Management/Set-Clipboard.md

Lines changed: 41 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
---
2-
ms.date: 06/09/2017
3-
schema: 2.0.0
4-
locale: en-us
5-
keywords: powershell,cmdlet
6-
online version: http://go.microsoft.com/fwlink/?LinkId=526220
7-
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
8-
title: Set-Clipboard
2+
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
3+
keywords: powershell,cmdlet
4+
locale: en-us
5+
Module Name: Microsoft.PowerShell.Management
6+
ms.date: 06/09/2017
7+
online version: http://go.microsoft.com/fwlink/?LinkId=526220
8+
schema: 2.0.0
9+
title: Set-Clipboard
910
---
1011
# Set-Clipboard
1112

@@ -40,26 +41,24 @@ Set-Clipboard [-Append] -LiteralPath <String[]> [-WhatIf] [-Confirm] [<CommonPar
4041

4142
## DESCRIPTION
4243

43-
The **Set-Clipboard** cmdlet sets the current Windows clipboard entry.
44+
The `Set-Clipboard` cmdlet sets the current Windows clipboard entry.
4445

4546
## EXAMPLES
4647

4748
### Example 1: Copy text to the clipboard
4849

50+
```powershell
51+
Set-Clipboard -Value "This is a test string"
4952
```
50-
PS C:\> Set-Clipboard -Value "This is a test string"
51-
```
52-
53-
This command copies a string to the clipboard.
5453

5554
### Example 2: Copy the contents of a directory to the clipboard
5655

57-
```
58-
PS C:\> Set-Clipboard -Path "C:\Staging\"
59-
```
60-
6156
This command copies the content of the specified folder to the clipboard.
6257

58+
```powershell
59+
Set-Clipboard -Path "C:\Staging\"
60+
```
61+
6362
## PARAMETERS
6463

6564
### -Append
@@ -78,29 +77,12 @@ Accept pipeline input: False
7877
Accept wildcard characters: False
7978
```
8079
81-
### -Confirm
82-
83-
Prompts you for confirmation before running the cmdlet.
84-
85-
```yaml
86-
Type: SwitchParameter
87-
Parameter Sets: (All)
88-
Aliases: cf
89-
90-
Required: False
91-
Position: Named
92-
Default value: False
93-
Accept pipeline input: False
94-
Accept wildcard characters: False
95-
```
96-
9780
### -LiteralPath
9881
99-
Specifies the path to the item that is copied to the clipboard.
100-
Unlike *Path*, the value of *LiteralPath* is used exactly as it is typed.
101-
No characters are interpreted as wildcards.
102-
If the path includes escape characters, enclose it in single quotation marks.
103-
Single quotation marks tell Windows PowerShell not to interpret any characters as escape sequences.
82+
Specifies the path to the item that is copied to the clipboard. Unlike **Path**, the value of
83+
**LiteralPath** is used exactly as it is typed. No characters are interpreted as wildcards. If the
84+
path includes escape characters, enclose it in single quotation marks. Single quotation marks tell
85+
Windows PowerShell not to interpret any characters as escape sequences.
10486
10587
```yaml
10688
Type: String[]
@@ -116,8 +98,7 @@ Accept wildcard characters: False
11698
11799
### -Path
118100
119-
Specifies the path to the item that is copied to the clipboard.
120-
Wildcard characters are permitted.
101+
Specifies the path to the item that is copied to the clipboard. Wildcard characters are permitted.
121102
122103
```yaml
123104
Type: String[]
@@ -128,7 +109,7 @@ Required: True
128109
Position: Named
129110
Default value: None
130111
Accept pipeline input: True (ByPropertyName)
131-
Accept wildcard characters: False
112+
Accept wildcard characters: True
132113
```
133114
134115
### -Value
@@ -147,10 +128,25 @@ Accept pipeline input: True (ByPropertyName, ByValue)
147128
Accept wildcard characters: False
148129
```
149130
131+
### -Confirm
132+
133+
Prompts you for confirmation before running the cmdlet.
134+
135+
```yaml
136+
Type: SwitchParameter
137+
Parameter Sets: (All)
138+
Aliases: cf
139+
140+
Required: False
141+
Position: Named
142+
Default value: False
143+
Accept pipeline input: False
144+
Accept wildcard characters: False
145+
```
146+
150147
### -WhatIf
151148
152-
Shows what would happen if the cmdlet runs.
153-
The cmdlet is not run.
149+
Shows what would happen if the cmdlet runs. The cmdlet is not run.
154150
155151
```yaml
156152
Type: SwitchParameter
@@ -166,7 +162,9 @@ Accept wildcard characters: False
166162
167163
### CommonParameters
168164
169-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
165+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
166+
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
167+
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
170168
171169
## INPUTS
172170

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

Lines changed: 38 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
keywords: powershell,cmdlet
44
locale: en-us
55
Module Name: Microsoft.PowerShell.Management
6-
ms.date: 06/09/2017
6+
ms.date: 05/15/2019
77
online version: http://go.microsoft.com/fwlink/?LinkId=526219
88
schema: 2.0.0
99
title: Get-Clipboard
1010
---
11-
1211
# Get-Clipboard
1312

1413
## SYNOPSIS
@@ -21,31 +20,50 @@ Get-Clipboard [-Format <ClipboardFormat>] [-TextFormatType <TextDataFormat>] [-R
2120
```
2221

2322
## DESCRIPTION
24-
The **Get-Clipboard** cmdlet gets the current Windows clipboard entry.
23+
24+
The `Get-Clipboard` cmdlet gets the current Windows clipboard entry.
2525

2626
## EXAMPLES
2727

2828
### Example 1: Get the content of the clipboard and display it to the command-line
29-
```
30-
PS C:\> Get-Clipboard
31-
This is a test string.
32-
```
3329

34-
This command displays the contents of the clipboard to the command-line.
30+
In this example we have right-clicked on an image in a browser and chose the **Copy** action. The
31+
following command displays the link, as a URL, of the image that is stored in the clipboard.
3532

36-
### Example 2: Get the content of the clipboard and display it to the command-line
33+
```powershell
34+
Get-Clipboard
3735
```
38-
PS C:\> Get-Clipboard
36+
37+
```Output
3938
https://en.wikipedia.org/wiki/PowerShell
4039
```
4140

42-
This command displays the link, as a URL, of the image that is stored in the clipboard.
41+
### Example 2: Get the content of the clipboard in a specific format
42+
43+
In this example we copied files to the clipboard in Windows Explorerby selecting them and pressing
44+
<kbd>Ctrl-C</kbd>. Using the following command, you can access the contents of the clipboard as a
45+
list of files:
46+
47+
```powershell
48+
Get-Clipboard -Format FileDropList
49+
```
50+
51+
```Output
52+
Directory: C:\Git\PS-Docs\PowerShell-Docs\wmf
53+
54+
Mode LastWriteTime Length Name
55+
---- ------------- ------ ----
56+
-a---- 5/7/2019 1:11 PM 10010 TOC.yml
57+
-a---- 11/18/2016 10:10 AM 53 md.style
58+
-a---- 5/6/2019 9:32 AM 4177 overview.md
59+
-a---- 6/28/2018 2:28 PM 345 README.md
60+
```
4361

4462
## PARAMETERS
4563

4664
### -Format
47-
Specifies the type, or format, of the clipboard.
48-
The acceptable values for this parameter are:
65+
66+
Specifies the type, or format, of the clipboard. The acceptable values for this parameter are:
4967

5068
- Text
5169
- FileDropList
@@ -66,6 +84,7 @@ Accept wildcard characters: False
6684
```
6785
6886
### -Raw
87+
6988
Indicates that this cmdlet ignores newline characters and gets the entire contents of the clipboard.
7089
7190
```yaml
@@ -81,8 +100,8 @@ Accept wildcard characters: False
81100
```
82101
83102
### -TextFormatType
84-
Specifies the text data format type of the clipboard.
85-
The acceptable values for this parameter are:
103+
104+
Specifies the text data format type of the clipboard. The acceptable values for this parameter are:
86105
87106
- Text
88107
- UnicodeText
@@ -104,7 +123,10 @@ Accept wildcard characters: False
104123
```
105124
106125
### CommonParameters
107-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
126+
127+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
128+
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
129+
-WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
108130
109131
## INPUTS
110132

0 commit comments

Comments
 (0)