Skip to content

Commit 45f1937

Browse files
authored
Update Clear-SPOTenantPreAuthSettings.md
1 parent 89afcc7 commit 45f1937

File tree

1 file changed

+51
-18
lines changed

1 file changed

+51
-18
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Clear-SPOTenantPreAuthSettings.md

Lines changed: 51 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
---
2-
external help file: sharepointonline.xml
2+
external help file: Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
33
Module Name: Microsoft.Online.SharePoint.PowerShell
4-
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/clear-spotenantpreauthsettings
5-
applicable: SharePoint Online
6-
title: Clear-SPOTenantPreAuthSettings
4+
online version:
75
schema: 2.0.0
8-
author: lw-msft
9-
ms.author: laurenwong
10-
ms.reviewer:
11-
manager: bhaveshd
126
---
137

148
# Clear-SPOTenantPreAuthSettings
@@ -38,44 +32,83 @@ Clears the pre-authentication settings for either the allow or deny list.
3832
3933
## EXAMPLES
4034

41-
### EXAMPLE 1
42-
35+
### Example 1
4336
```powershell
44-
Clear-SPOTenantPreAuthSettings –Type Allow
37+
PS C:\> Clear-SPOTenantPreAuthSettings –Type Allow
4538
```
4639

4740
This example clears all list items from the allow list.
4841

49-
### EXAMPLE 2
42+
### Example 2
5043

5144
```powershell
52-
Clear-SPOTenantPreAuthSettings –Type Deny
45+
PS C:\> Clear-SPOTenantPreAuthSettings –Type Deny
5346
```
5447

5548
This example clears all list items from the deny list.
5649

5750
## PARAMETERS
5851

52+
### -Confirm
53+
Prompts you for confirmation before running the cmdlet.
54+
55+
```yaml
56+
Type: SwitchParameter
57+
Parameter Sets: (All)
58+
Aliases: cf
59+
60+
Required: False
61+
Position: Named
62+
Default value: None
63+
Accept pipeline input: False
64+
Accept wildcard characters: False
65+
```
66+
5967
### -Type
6068
6169
This parameter indicates whether the cmdlet is interacting with the allow list or the deny list.
6270
63-
PARAMVALUE: Allow | Deny
64-
6571
```yaml
6672
Type: TenantPreAuthSettingsListType
67-
Applicable: SharePoint Online
73+
Parameter Sets: (All)
74+
Aliases:
75+
Accepted values: Allow, Deny
76+
6877
Required: True
6978
Position: Named
7079
Default value: None
7180
Accept pipeline input: False
7281
Accept wildcard characters: False
7382
```
7483
84+
### -WhatIf
85+
Shows what would happen if the cmdlet runs.
86+
The cmdlet is not run.
87+
88+
```yaml
89+
Type: SwitchParameter
90+
Parameter Sets: (All)
91+
Aliases: wi
92+
93+
Required: False
94+
Position: Named
95+
Default value: None
96+
Accept pipeline input: False
97+
Accept wildcard characters: False
98+
```
99+
75100
### CommonParameters
76-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-5.1).
101+
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).
77102
78-
## RELATED LINKS
103+
## INPUTS
104+
105+
### None
79106
107+
## OUTPUTS
108+
109+
### System.Object
110+
## NOTES
111+
112+
## RELATED LINKS
80113
- [Get-SPOTenantPreAuthSettings](Get-SPOTenantPreAuthSettings.md)
81114
- [Set-SPOTenantPreAuthSettings](Set-SPOTenantPreAuthSettings.md)

0 commit comments

Comments
 (0)