|
1 | 1 | --- |
2 | | -external help file: sharepointonline.xml |
| 2 | +external help file: Microsoft.Online.SharePoint.PowerShell.dll-Help.xml |
3 | 3 | 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: |
7 | 5 | schema: 2.0.0 |
8 | | -author: lw-msft |
9 | | -ms.author: laurenwong |
10 | | -ms.reviewer: |
11 | | -manager: bhaveshd |
12 | 6 | --- |
13 | 7 |
|
14 | 8 | # Clear-SPOTenantPreAuthSettings |
@@ -38,44 +32,83 @@ Clears the pre-authentication settings for either the allow or deny list. |
38 | 32 |
|
39 | 33 | ## EXAMPLES |
40 | 34 |
|
41 | | -### EXAMPLE 1 |
42 | | - |
| 35 | +### Example 1 |
43 | 36 | ```powershell |
44 | | -Clear-SPOTenantPreAuthSettings –Type Allow |
| 37 | +PS C:\> Clear-SPOTenantPreAuthSettings –Type Allow |
45 | 38 | ``` |
46 | 39 |
|
47 | 40 | This example clears all list items from the allow list. |
48 | 41 |
|
49 | | -### EXAMPLE 2 |
| 42 | +### Example 2 |
50 | 43 |
|
51 | 44 | ```powershell |
52 | | -Clear-SPOTenantPreAuthSettings –Type Deny |
| 45 | +PS C:\> Clear-SPOTenantPreAuthSettings –Type Deny |
53 | 46 | ``` |
54 | 47 |
|
55 | 48 | This example clears all list items from the deny list. |
56 | 49 |
|
57 | 50 | ## PARAMETERS |
58 | 51 |
|
| 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 | +
|
59 | 67 | ### -Type |
60 | 68 |
|
61 | 69 | This parameter indicates whether the cmdlet is interacting with the allow list or the deny list. |
62 | 70 |
|
63 | | -PARAMVALUE: Allow | Deny |
64 | | - |
65 | 71 | ```yaml |
66 | 72 | Type: TenantPreAuthSettingsListType |
67 | | -Applicable: SharePoint Online |
| 73 | +Parameter Sets: (All) |
| 74 | +Aliases: |
| 75 | +Accepted values: Allow, Deny |
| 76 | + |
68 | 77 | Required: True |
69 | 78 | Position: Named |
70 | 79 | Default value: None |
71 | 80 | Accept pipeline input: False |
72 | 81 | Accept wildcard characters: False |
73 | 82 | ``` |
74 | 83 |
|
| 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 | +
|
75 | 100 | ### 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). |
77 | 102 |
|
78 | | -## RELATED LINKS |
| 103 | +## INPUTS |
| 104 | +
|
| 105 | +### None |
79 | 106 |
|
| 107 | +## OUTPUTS |
| 108 | +
|
| 109 | +### System.Object |
| 110 | +## NOTES |
| 111 | +
|
| 112 | +## RELATED LINKS |
80 | 113 | - [Get-SPOTenantPreAuthSettings](Get-SPOTenantPreAuthSettings.md) |
81 | 114 | - [Set-SPOTenantPreAuthSettings](Set-SPOTenantPreAuthSettings.md) |
0 commit comments