Skip to content

Remove unused flags, add description #9854

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Sep 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 3 additions & 22 deletions teams/teams-ps/teams/Get-CsTeamsMediaLoggingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ applicable: Microsoft Teams, Skype for Business Online
title: Get-CsTeamsMediaLoggingPolicy
author: LeoKuhorev
ms.author: leokukharau
manager: saurk
manager: shalages
schema: 2.0.0
---

Expand All @@ -21,14 +21,13 @@ Returns information about the Teams Media Logging policy.
### Identity (Default)

```
Get-CsTeamsMediaLoggingPolicy [[-Identity] <String>] [-MsftInternalProcessingMode <String>]
[<CommonParameters>]
Get-CsTeamsMediaLoggingPolicy [[-Identity] <String>] [<CommonParameters>]
```

### Filter

```
Get-CsTeamsMediaLoggingPolicy [-MsftInternalProcessingMode <String>] [-Filter <String>] [<CommonParameters>]
Get-CsTeamsMediaLoggingPolicy [-Filter <String>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -77,24 +76,6 @@ Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -MsftInternalProcessingMode

Internal Microsoft use only.

```yaml
Type: String
Parameter Sets: (All)
Aliases:
Applicable: Microsoft Teams, Skype for Business Online

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Filter

Enables using wildcards when specifying the policy (or policies) to be retrieved.
Expand Down
41 changes: 8 additions & 33 deletions teams/teams-ps/teams/Grant-CsTeamsMediaLoggingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,42 +6,34 @@ applicable: Microsoft Teams, Skype for Business Online
title: Grant-CsTeamsMediaLoggingPolicy
author: LeoKuhorev
ms.author: leokukharau
manager: saurk
manager: shalages
schema: 2.0.0
---

# Grant-CsTeamsMediaLoggingPolicy

## SYNOPSIS

Assigns Teams Media Logging policy to a user, group of users or the entire tenant.
Assigns Teams Media Logging policy to a user or entire tenant.

## SYNTAX

### Identity (Default)

```
Grant-CsTeamsMediaLoggingPolicy [[-Identity] <String>] [-PassThru] [[-PolicyName] <String>]
[-MsftInternalProcessingMode <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
[-WhatIf] [-Confirm] [<CommonParameters>]
```

### GrantToTenant

```
Grant-CsTeamsMediaLoggingPolicy [-PassThru] [[-PolicyName] <String>] [-MsftInternalProcessingMode <String>]
[-Global] [-WhatIf] [-Confirm] [<CommonParameters>]
```

### GrantToGroup

```
Grant-CsTeamsMediaLoggingPolicy [-PassThru] [[-PolicyName] <String>] [-MsftInternalProcessingMode <String>]
[-Group] <String> [-Rank <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
Grant-CsTeamsMediaLoggingPolicy [-PassThru] [[-PolicyName] <String>] [-Global] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION

Assigns Teams Media Logging policy to a user, group of users or the entire tenant.
Assigns Teams Media Logging policy to a user or entire tenant.
TeamsMediaLoggingPolicy allows administrators to enable media logging for users. When assigned, it will enable media logging for the user overriding other settings. After unassigning the policy, media logging setting will revert to the previous value.

## EXAMPLES
Expand All @@ -52,23 +44,23 @@ TeamsMediaLoggingPolicy allows administrators to enable media logging for users.
PS C:\> Grant-CsTeamsMediaLoggingPolicy -Identity '[email protected]' -PolicyName Enabled
```

Assign Teams Media Logging policy to the user with the user principal name (UPN) "[email protected]".
Assign Teams Media Logging policy to a single user with the user principal name (UPN) "[email protected]". This will enable media logging for the user.

### EXAMPLE 2

```PowerShell
PS C:\> Grant-CsTeamsMediaLoggingPolicy -Identity '[email protected]' -PolicyName $null
```

Unassign Teams Media Logging policy from the user with the user principal name (UPN) "[email protected]".
Unassign Teams Media Logging policy from a single user with the user principal name (UPN) "[email protected]". This will revert media logging setting to the previous value.

### EXAMPLE 3

```PowerShell
PS C:\> Grant-CsTeamsMediaLoggingPolicy -Global -PolicyName Enabled
```

Assign Teams Media Logging policy to the entire tenant.
Assign Teams Media Logging policy to the entire tenant. Note that this will enable logging for every single user in the tenant without a possibility to disable it for individual users.

### EXAMPLE 4

Expand Down Expand Up @@ -144,23 +136,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -MsftInternalProcessingMode

Internal Microsoft use only.

```yaml
Type: String
Parameter Sets: (All)
Aliases:
Applicable: Microsoft Teams, Skype for Business Online

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Global

When this cmdlet is used with `-Global` identity, the policy applies to all users in the tenant, except any that have an explicit policy assignment. For example, if the user already has Media Logging policy set to "Enabled", and tenant admin assigns "$null" globally, the user will still have Media Logging policy "Enabled".
Expand Down