編輯

共用方式為


Set-CsTeamsFeedbackPolicy

Use this cmdlet to modify a Teams feedback policy (the ability to send feedback about Teams to Microsoft and whether they receive the survey).

Syntax

Set-CsTeamsFeedbackPolicy
   [[-Identity] <String>]
   [-AllowEmailCollection <Boolean>]
   [-AllowLogCollection <Boolean>]
   [-AllowScreenshotCollection <Boolean>]
   [-Confirm]
   [-EnableFeatureSuggestions <Boolean>]
   [-Force]
   [-Instance <Object>]
   [-ReceiveSurveysMode <String>]
   [-Tenant <Object>]
   [-UserInitiatedMode <String>]
   [-WhatIf]
   [<CommonParameters>]

Description

Modifies a Teams feedback policy (the ability to send feedback about Teams to Microsoft and whether they receive the survey).

Examples

Example 1

PS C:\> Set-CsTeamsFeedbackPolicy -identity "New Hire Feedback Policy" -userInitiatedMode enabled -receiveSurveysMode disabled

In this example, the policy "New Hire Feedback Policy" is modified, sets the userInitiatedMode parameter to enabled and the receiveSurveysMode parameter to disabled.

Parameters

-AllowEmailCollection

Set this to TRUE to enable Email collection.

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

-AllowLogCollection

Set this to TRUE to enable log collection.

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

-AllowScreenshotCollection

Set this to TRUE to enable Screenshot collection.

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EnableFeatureSuggestions

This setting will enable Tenant Admins to hide or show the Teams menu item "Help | Suggest a Feature". Possible Values: True, False

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

-Force

Suppresses any confirmation prompts that would otherwise be displayed before making changes and suppresses the display of any non-fatal error message that might arise when running the command.

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

-Identity

The unique identifier of the policy.

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Instance

Internal Microsoft use.

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

-ReceiveSurveysMode

Set the receiveSurveysMode parameter to enabled to allow users who are assigned the policy to receive the survey. Set it to EnabledUserOverride to have users receive the survey and allow them to opt out.

Possible values:

  • Enabled
  • Disabled
  • EnabledUserOverride
Type:String
Position:Named
Default value:Enabled
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Tenant

Internal Microsoft use.

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

-UserInitiatedMode

Set the userInitiatedMode parameter to enabled to allow users who are assigned the policy to give feedback. Setting the parameter to disabled turns off the feature and users who are assigned the policy don't have the option to give feedback.

Possible values:

  • Enabled
  • Disabled
Type:String
Position:Named
Default value:Enabled
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

System.Management.Automation.PSObject

Outputs

System.Object