Skip to content

Commit 801c0b1

Browse files
gautamdshethGautam Sheth
andauthored
Remove redundant -WhatIf parameter documentation from multiple cmdlet files (#4542)
Co-authored-by: Gautam Sheth <[email protected]>
1 parent 2f8b9c9 commit 801c0b1

File tree

54 files changed

+33
-787
lines changed

Some content is hidden

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

54 files changed

+33
-787
lines changed

documentation/Add-PnPListDesign.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -183,21 +183,6 @@ Accept pipeline input: False
183183
Accept wildcard characters: False
184184
```
185185
186-
### -WhatIf
187-
Shows what would happen if the cmdlet runs. The cmdlet is not run.
188-
189-
```yaml
190-
Type: SwitchParameter
191-
Parameter Sets: (All)
192-
Aliases: wi
193-
194-
Required: False
195-
Position: Named
196-
Default value: None
197-
Accept pipeline input: False
198-
Accept wildcard characters: False
199-
```
200-
201186
## RELATED LINKS
202187
203188
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)

documentation/Add-PnPSiteDesign.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -241,21 +241,6 @@ Accept pipeline input: False
241241
Accept wildcard characters: False
242242
```
243243
244-
### -WhatIf
245-
Shows what would happen if the cmdlet runs. The cmdlet is not run.
246-
247-
```yaml
248-
Type: SwitchParameter
249-
Parameter Sets: (All)
250-
Aliases: wi
251-
252-
Required: False
253-
Position: Named
254-
Default value: None
255-
Accept pipeline input: False
256-
Accept wildcard characters: False
257-
```
258-
259244
## RELATED LINKS
260245
261246
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)

documentation/Add-PnPSiteDesignFromWeb.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -70,21 +70,6 @@ Accept pipeline input: False
7070
Accept wildcard characters: False
7171
```
7272
73-
### -WhatIf
74-
Shows what would happen if the cmdlet runs. The cmdlet is not run.
75-
76-
```yaml
77-
Type: SwitchParameter
78-
Parameter Sets: (All)
79-
Aliases: wi
80-
81-
Required: False
82-
Position: Named
83-
Default value: None
84-
Accept pipeline input: False
85-
Accept wildcard characters: False
86-
```
87-
8873
### -Description
8974
The description of the site design
9075

documentation/Add-PnPSiteScript.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -109,21 +109,6 @@ Accept pipeline input: False
109109
Accept wildcard characters: False
110110
```
111111
112-
### -WhatIf
113-
Shows what would happen if the cmdlet runs. The cmdlet is not run.
114-
115-
```yaml
116-
Type: SwitchParameter
117-
Parameter Sets: (All)
118-
Aliases: wi
119-
120-
Required: False
121-
Position: Named
122-
Default value: None
123-
Accept pipeline input: False
124-
Accept wildcard characters: False
125-
```
126-
127112
## RELATED LINKS
128113
129114
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)

documentation/Add-PnPTenantSequence.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -84,21 +84,6 @@ Accept pipeline input: False
8484
Accept wildcard characters: False
8585
```
8686
87-
### -WhatIf
88-
Shows what would happen if the cmdlet runs. The cmdlet is not run.
89-
90-
```yaml
91-
Type: SwitchParameter
92-
Parameter Sets: (All)
93-
Aliases: wi
94-
95-
Required: False
96-
Position: Named
97-
Default value: None
98-
Accept pipeline input: False
99-
Accept wildcard characters: False
100-
```
101-
10287
## RELATED LINKS
10388
10489
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)

documentation/Add-PnPTenantSequenceSubSite.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -77,21 +77,6 @@ Accept pipeline input: False
7777
Accept wildcard characters: False
7878
```
7979
80-
### -WhatIf
81-
Shows what would happen if the cmdlet runs. The cmdlet is not run.
82-
83-
```yaml
84-
Type: SwitchParameter
85-
Parameter Sets: (All)
86-
Aliases: wi
87-
88-
Required: False
89-
Position: Named
90-
Default value: None
91-
Accept pipeline input: False
92-
Accept wildcard characters: False
93-
```
94-
9580
## RELATED LINKS
9681
9782
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)

documentation/Copy-PnPItemProxy.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ Copy-Item
2525
[-Exclude <String[]>]
2626
[-Recurse]
2727
[-PassThru]
28-
[-Credential <PSCredential>]
29-
[-WhatIf]
28+
[-Credential <PSCredential>]
3029
[-Confirm]
3130
[-FromSession <PSSession>]
3231
[-ToSession <PSSession>]

documentation/Export-PnPListToSiteTemplate.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -142,23 +142,6 @@ Accept pipeline input: False
142142
Accept wildcard characters: False
143143
```
144144
145-
146-
147-
### -WhatIf
148-
Shows what would happen if the cmdlet runs. The cmdlet is not run.
149-
150-
```yaml
151-
Type: SwitchParameter
152-
Parameter Sets: (All)
153-
Aliases: wi
154-
155-
Required: False
156-
Position: Named
157-
Default value: None
158-
Accept pipeline input: False
159-
Accept wildcard characters: False
160-
```
161-
162145
## RELATED LINKS
163146
164147
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)

documentation/Export-PnPTaxonomy.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -226,21 +226,6 @@ Accept pipeline input: False
226226
Accept wildcard characters: False
227227
```
228228
229-
### -WhatIf
230-
Shows what would happen if the cmdlet runs. The cmdlet is not run.
231-
232-
```yaml
233-
Type: SwitchParameter
234-
Parameter Sets: (All)
235-
Aliases: wi
236-
237-
Required: False
238-
Position: Named
239-
Default value: None
240-
Accept pipeline input: False
241-
Accept wildcard characters: False
242-
```
243-
244229
## RELATED LINKS
245230
246231
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)

documentation/Export-PnPTermGroupToXml.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -155,21 +155,6 @@ Accept pipeline input: False
155155
Accept wildcard characters: False
156156
```
157157
158-
### -WhatIf
159-
Shows what would happen if the cmdlet runs. The cmdlet is not run.
160-
161-
```yaml
162-
Type: SwitchParameter
163-
Parameter Sets: (All)
164-
Aliases: wi
165-
166-
Required: False
167-
Position: Named
168-
Default value: None
169-
Accept pipeline input: False
170-
Accept wildcard characters: False
171-
```
172-
173158
## RELATED LINKS
174159
175160
[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp)

0 commit comments

Comments
 (0)