|
| 1 | +--- |
| 2 | +external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.xml |
| 3 | +Module Name: MicrosoftTeams |
| 4 | +online version: https://learn.microsoft.com/powershell/module/teams/remove-csteamsfilespolicy |
| 5 | +schema: 2.0.0 |
| 6 | +--- |
| 7 | + |
| 8 | +# Remove-CsTeamsFilesPolicy |
| 9 | + |
| 10 | +## SYNOPSIS |
| 11 | +Deletes an existing teams files policy or resets the Global policy instance to the default values. |
| 12 | + |
| 13 | +## SYNTAX |
| 14 | + |
| 15 | +``` |
| 16 | +Remove-CsTeamsFilesPolicy [-Identity] <String> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>] |
| 17 | +``` |
| 18 | + |
| 19 | +## DESCRIPTION |
| 20 | +Deletes an existing teams files or resets the Global policy instance to the default values. |
| 21 | + |
| 22 | +## EXAMPLES |
| 23 | + |
| 24 | +### Example 1 |
| 25 | +``` |
| 26 | +Remove-CsTeamsFilesPolicy -Identity "Customteamsfilespolicy" |
| 27 | +``` |
| 28 | + |
| 29 | +The command shown in Example 1 deletes a per-user teams files policy Customteamsfilespolicy. |
| 30 | + |
| 31 | +## PARAMETERS |
| 32 | + |
| 33 | +### -Identity |
| 34 | +A unique identifier specifying the scope, and in some cases the name, of the policy. |
| 35 | + |
| 36 | +```yaml |
| 37 | +Type: String |
| 38 | +Parameter Sets: (All) |
| 39 | +Aliases: |
| 40 | + |
| 41 | +Required: True |
| 42 | +Position: 1 |
| 43 | +Default value: None |
| 44 | +Accept pipeline input: True (ByPropertyName) |
| 45 | +Accept wildcard characters: False |
| 46 | +``` |
| 47 | +
|
| 48 | +### -WhatIf |
| 49 | +Describes what would happen if you executed the command without actually executing the command. |
| 50 | +
|
| 51 | +```yaml |
| 52 | +Type: SwitchParameter |
| 53 | +Parameter Sets: (All) |
| 54 | +Aliases: wi |
| 55 | + |
| 56 | +Required: False |
| 57 | +Position: Named |
| 58 | +Default value: False |
| 59 | +Accept pipeline input: False |
| 60 | +Accept wildcard characters: False |
| 61 | +``` |
| 62 | +
|
| 63 | +### -Confirm |
| 64 | +Prompts you for confirmation before executing the command. |
| 65 | +
|
| 66 | +```yaml |
| 67 | +Type: SwitchParameter |
| 68 | +Parameter Sets: (All) |
| 69 | +Aliases: cf |
| 70 | + |
| 71 | +Required: False |
| 72 | +Position: Named |
| 73 | +Default value: False |
| 74 | +Accept pipeline input: False |
| 75 | +Accept wildcard characters: False |
| 76 | +``` |
| 77 | +
|
| 78 | +### -Force |
| 79 | +{{ Fill Force Description }} |
| 80 | +
|
| 81 | +```yaml |
| 82 | +Type: SwitchParameter |
| 83 | +Parameter Sets: (All) |
| 84 | +Aliases: |
| 85 | + |
| 86 | +Required: False |
| 87 | +Position: Named |
| 88 | +Default value: None |
| 89 | +Accept pipeline input: False |
| 90 | +Accept wildcard characters: False |
| 91 | +``` |
| 92 | +
|
| 93 | +### CommonParameters |
| 94 | +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). |
| 95 | +
|
| 96 | +## INPUTS |
| 97 | +
|
| 98 | +## OUTPUTS |
| 99 | +
|
| 100 | +## NOTES |
| 101 | +You are not able to delete the pre-configured policy instances Default, TranscriptionProfanityMaskingEnabled and TranscriptionDisabled |
| 102 | +
|
| 103 | +## RELATED LINKS |
| 104 | +
|
| 105 | +[Get-CsTeamsFilesPolicy]() |
| 106 | +
|
| 107 | +[Set-CsTeamsFilesPolicy]() |
| 108 | +
|
| 109 | +[New-CsTeamsFilesPolicy]() |
| 110 | +
|
| 111 | +[Grant-CsTeamsFilesPolicy]() |
| 112 | +
|
0 commit comments