Skip to content

Commit d239d98

Browse files
authored
Merge pull request #7104 from get-itips/teamsfeedpatch
Adding TeamsFeedbackPolicy cmdlets
2 parents 8a393ac + cc632ef commit d239d98

File tree

5 files changed

+595
-5
lines changed

5 files changed

+595
-5
lines changed
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
---
2+
external help file: Microsoft.Rtc.Management.dll-help.xml
3+
online version: https://docs.microsoft.com/powershell/module/skype/get-csteamsfeedbackpolicy
4+
applicable: Skype for Business Online
5+
title: Get-CsTeamsFeedbackPolicy
6+
schema: 2.0.0
7+
manager: bulenteg
8+
ms.author: tomkau
9+
author: tomkau
10+
ms.reviewer:
11+
---
12+
13+
# Get-CsTeamsFeedbackPolicy
14+
15+
## SYNOPSIS
16+
17+
Use this cmdlet to retrieve the current Teams Feedback policies in the organization.
18+
19+
## SYNTAX
20+
21+
```
22+
Get-CsTeamsFeedbackPolicy [-LocalStore] [[-Identity] <Object>] [-Tenant <Object>] [-Filter <Object>]
23+
```
24+
25+
## DESCRIPTION
26+
Retrieves the current Teams Feedback policies in the organization.
27+
28+
## EXAMPLES
29+
30+
### Example 1
31+
```powershell
32+
PS C:\> Get-CsTeamsFeedbackPolicy
33+
```
34+
35+
In this example, we retrieve all the existing Teams feedback policies in the organization.
36+
37+
## PARAMETERS
38+
39+
### -Filter
40+
Internal Microsoft use
41+
42+
```yaml
43+
Type: Object
44+
Parameter Sets: (All)
45+
Aliases:
46+
47+
Required: False
48+
Position: Named
49+
Default value: None
50+
Accept pipeline input: False
51+
Accept wildcard characters: False
52+
```
53+
54+
### -Identity
55+
The unique identifier of the policy.
56+
57+
```yaml
58+
Type: Object
59+
Parameter Sets: (All)
60+
Aliases:
61+
62+
Required: False
63+
Position: 1
64+
Default value: None
65+
Accept pipeline input: False
66+
Accept wildcard characters: False
67+
```
68+
69+
### -LocalStore
70+
Internal Microsoft use.
71+
72+
```yaml
73+
Type: SwitchParameter
74+
Parameter Sets: (All)
75+
Aliases:
76+
77+
Required: False
78+
Position: Named
79+
Default value: None
80+
Accept pipeline input: False
81+
Accept wildcard characters: False
82+
```
83+
84+
### -Tenant
85+
Internal Microsoft use.
86+
87+
```yaml
88+
Type: Object
89+
Parameter Sets: (All)
90+
Aliases:
91+
92+
Required: False
93+
Position: Named
94+
Default value: None
95+
Accept pipeline input: False
96+
Accept wildcard characters: False
97+
```
98+
99+
## INPUTS
100+
101+
### None
102+
103+
## OUTPUTS
104+
105+
### System.Object
106+
## NOTES
107+
108+
## RELATED LINKS
Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
---
2+
external help file: Microsoft.Rtc.Management.dll-help.xml
3+
online version: https://docs.microsoft.com/powershell/module/skype/grant-csteamsfeedbackpolicy
4+
applicable: Skype for Business Online
5+
title: Grant-CsTeamsFeedbackPolicy
6+
schema: 2.0.0
7+
manager: bulenteg
8+
ms.author: tomkau
9+
author: tomkau
10+
ms.reviewer:
11+
---
12+
13+
# Grant-CsTeamsFeedbackPolicy
14+
15+
## SYNOPSIS
16+
17+
Use this cmdlet to grant a specific Teams Feedback policy to a user.
18+
19+
## SYNTAX
20+
21+
```
22+
Grant-CsTeamsFeedbackPolicy [-PassThru] [-Confirm] [[-PolicyName] <Object>] [[-Identity] <Object>] [-Global]
23+
[-Tenant <Object>] [-DomainController <Object>] [-WhatIf]
24+
```
25+
26+
## DESCRIPTION
27+
Grants a specific Teams Feedback policy to a user.
28+
29+
## EXAMPLES
30+
31+
### Example 1
32+
```powershell
33+
PS C:\> Grant-CsTeamsFeedbackPolicy -PolicyName "New Hire Feedback Policy" -Identity [email protected]
34+
```
35+
36+
In this example, the policy "New Hire Feedback Policy" is granted to the user [email protected].
37+
38+
## PARAMETERS
39+
40+
### -Confirm
41+
Prompts you for confirmation before running the cmdlet.
42+
43+
```yaml
44+
Type: SwitchParameter
45+
Parameter Sets: (All)
46+
Aliases: cf
47+
48+
Required: False
49+
Position: Named
50+
Default value: None
51+
Accept pipeline input: False
52+
Accept wildcard characters: False
53+
```
54+
55+
### -DomainController
56+
Internal Microsoft use.
57+
58+
```yaml
59+
Type: Object
60+
Parameter Sets: (All)
61+
Aliases:
62+
63+
Required: False
64+
Position: Named
65+
Default value: None
66+
Accept pipeline input: False
67+
Accept wildcard characters: False
68+
```
69+
70+
### -Global
71+
Use this parameter to make the specified policy in -PolicyName the new effective global policy.
72+
73+
```yaml
74+
Type: SwitchParameter
75+
Parameter Sets: (All)
76+
Aliases:
77+
78+
Required: False
79+
Position: Named
80+
Default value: None
81+
Accept pipeline input: False
82+
Accept wildcard characters: False
83+
```
84+
85+
### -Identity
86+
Indicates the identity of the user account the policy should be assigned to.
87+
88+
```yaml
89+
Type: Object
90+
Parameter Sets: (All)
91+
Aliases:
92+
93+
Required: False
94+
Position: 0
95+
Default value: None
96+
Accept pipeline input: False
97+
Accept wildcard characters: False
98+
```
99+
100+
### -PassThru
101+
Including this parameter (which does not take a value) displays the user information when the cmdlet completes. Normally there is no output when this cmdlet is run.
102+
103+
```yaml
104+
Type: SwitchParameter
105+
Parameter Sets: (All)
106+
Aliases:
107+
108+
Required: False
109+
Position: Named
110+
Default value: None
111+
Accept pipeline input: False
112+
Accept wildcard characters: False
113+
```
114+
115+
### -PolicyName
116+
The identity of the policy to be granted.
117+
118+
```yaml
119+
Type: Object
120+
Parameter Sets: (All)
121+
Aliases:
122+
123+
Required: False
124+
Position: 1
125+
Default value: None
126+
Accept pipeline input: False
127+
Accept wildcard characters: False
128+
```
129+
130+
### -Tenant
131+
Internal Microsoft use.
132+
133+
```yaml
134+
Type: Object
135+
Parameter Sets: (All)
136+
Aliases:
137+
138+
Required: False
139+
Position: Named
140+
Default value: None
141+
Accept pipeline input: False
142+
Accept wildcard characters: False
143+
```
144+
145+
### -WhatIf
146+
Shows what would happen if the cmdlet runs.
147+
The cmdlet is not run.
148+
149+
```yaml
150+
Type: SwitchParameter
151+
Parameter Sets: (All)
152+
Aliases: wi
153+
154+
Required: False
155+
Position: Named
156+
Default value: None
157+
Accept pipeline input: False
158+
Accept wildcard characters: False
159+
```
160+
161+
## INPUTS
162+
163+
### Microsoft.Rtc.Management.AD.UserIdParameter
164+
165+
## OUTPUTS
166+
167+
### System.Object
168+
## NOTES
169+
170+
## RELATED LINKS

skype/skype-ps/skype/New-CsTeamsFeedbackPolicy.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Use this cmdlet to control whether users in your organization can send feedback
1919

2020
```
2121
New-CsTeamsFeedbackPolicy [-WhatIf] [-Confirm] [[-Identity] <Object>] [-Tenant <Object>] [-InMemory]
22-
[-UserInitiatedMode <Object>] [-ReceiveSurveysMode <Object>] [-Force]
22+
[-UserInitiatedMode <String>] [-ReceiveSurveysMode <String>] [-Force]
2323
```
2424

2525
## DESCRIPTION
@@ -99,14 +99,19 @@ Accept wildcard characters: False
9999
### -ReceiveSurveysMode
100100
Set the receiveSurveysMode parameter to enabled to allow users who are assigned the policy to receive the survey.
101101
102+
Possible values:
103+
- Enabled
104+
- Disabled
105+
- EnabledUserOverride
106+
102107
```yaml
103-
Type: Object
108+
Type: String
104109
Parameter Sets: (All)
105110
Aliases:
106111

107112
Required: False
108113
Position: Named
109-
Default value: None
114+
Default value: Enabled
110115
Accept pipeline input: False
111116
Accept wildcard characters: False
112117
```
@@ -130,14 +135,18 @@ Accept wildcard characters: False
130135
Set the userInitiatedMode parameter to enabled to allow users who are assigned the policy to give feedback.
131136
Setting the parameter to disabled turns off the feature and users who are assigned the policy don't have the option to give feedback.
132137
138+
Possible values:
139+
- Enabled
140+
- Disabled
141+
133142
```yaml
134-
Type: Object
143+
Type: String
135144
Parameter Sets: (All)
136145
Aliases:
137146

138147
Required: False
139148
Position: Named
140-
Default value: None
149+
Default value: Enabled
141150
Accept pipeline input: False
142151
Accept wildcard characters: False
143152
```

0 commit comments

Comments
 (0)