Skip to content

Commit c5447ad

Browse files
authored
Update Grant-CsGraphPolicy.md
1 parent 715dfff commit c5447ad

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

skype/skype-ps/skype/Grant-CsGraphPolicy.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,29 @@ schema: 2.0.0
88
# Grant-CsGraphPolicy
99

1010
## SYNOPSIS
11-
Use the Grant-CsGraphPolicy cmdlet to assign a previously defined graph policy to a user or to your organization.
12-
Graph policies determine whether users can pre-load content or files that are attached to an Outlook meeting invitation into a Skype for Business Online meeting,
11+
Use the `Grant-CsGraphPolicy` cmdlet to assign a previously defined graph policy to a user or to your organization.
12+
Graph policies determine whether users can pre-load content or files that are attached to an Outlook meeting invitation into a Skype for Business Online meeting.
1313

1414
## SYNTAX
1515

1616
```
17-
Grant-CsGraphPolicy [[-Identity] <Object>] [[-PolicyName] <Object>] [-Confirm] [-DomainController <Object>]
18-
[-PassThru] [-Tenant <Object>] [-WhatIf] [-AsJob] [<CommonParameters>]
17+
Grant-CsGraphPolicy [[-Identity] <UserIdParameter>] [[-PolicyName] <String>] [-Confirm] [-DomainController <Fqdn>]
18+
[-PassThru] [-Tenant <Guid>] [-WhatIf] [-AsJob] [<CommonParameters>]
1919
```
2020

2121
## DESCRIPTION
2222
Skype for Business Online supports a Global CsGraphPolicy that is set by default to enable Outlook content pre-load in Skype for Business Online meetings.
2323
The Global policy can't be changed by you.
24-
Use the Grant-CsGraphPolicy cmdlet to assign a predefined graph policy to users in your organization.
24+
Use the `Grant-CsGraphPolicy` cmdlet to assign a predefined graph policy to users in your organization.
2525

2626
To return a list of all the Role-Based Access Control (RBAC) roles a cmdlet has been assigned to (including any custom RBAC roles you have created), run the following command:
2727

28-
`Get-CsAdminRole | Where-Object {$_.Cmdlets -Match "\<DesiredCmdletName\>"}`
28+
`Get-CsAdminRole | Where-Object {$_.Cmdlets -Match "Grant-CsGraphPolicy"}`
2929

3030
## EXAMPLES
3131

3232
### -------------------------- Example 1 --------------------------
3333
```
34-
3534
Grant-CsGraphPolicy -PolicyName "GraphDisabled" -Identity Ken.Myer
3635
```
3736

@@ -51,7 +50,7 @@ Graph Disabled: Granting this policy will disable the pre-loading of content, fi
5150
For example, `Grant-CsGraphPolicy -PolicyName "Graph Disabled".`
5251

5352
```yaml
54-
Type: Object
53+
Type: String
5554
Parameter Sets: (All)
5655
Aliases:
5756
Applicable: Skype for Business Online
@@ -80,11 +79,10 @@ Accept wildcard characters: False
8079
```
8180
8281
### -DomainController
83-
Specifies the domain controller that's used by the cmdlet to read or write the specified data.
84-
Valid inputs for this parameter are either the fully qualified domain name (FQDN) or the computer name.
82+
This parameter is reserved for internal Microsoft use.
8583
8684
```yaml
87-
Type: Object
85+
Type: Fqdn
8886
Parameter Sets: (All)
8987
Aliases:
9088
Applicable: Skype for Business Online
@@ -100,7 +98,7 @@ Accept wildcard characters: False
10098
Specifies the identity of the user who will be granted the graph policy.
10199
102100
```yaml
103-
Type: Object
101+
Type: UserIdParameter
104102
Parameter Sets: (All)
105103
Aliases:
106104
Applicable: Skype for Business Online
@@ -132,7 +130,7 @@ Accept wildcard characters: False
132130
This parameter is reserved for internal Microsoft use.
133131
134132
```yaml
135-
Type: Object
133+
Type: Guid
136134
Parameter Sets: (All)
137135
Aliases:
138136
Applicable: Skype for Business Online
@@ -162,7 +160,11 @@ Accept wildcard characters: False
162160
```
163161
164162
### -AsJob
165-
{{Fill AsJob Description}}
163+
Indicates that this cmdlet runs as a background job.
164+
165+
When you specify the AsJob parameter, the command immediately returns an object that represents the background job. You can continue to work in the session while the job finishes. The job is created on the local computer and the results from the Skype for Business Online session are automatically returned to the local computer. To get the job results, use the Receive-Job cmdlet.
166+
167+
For more information about Windows PowerShell background jobs, see [about_Jobs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_jobs?view=powershell-6) and [about_Remote_Jobs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_remote_jobs?view=powershell-6).
166168
167169
```yaml
168170
Type: SwitchParameter
@@ -193,5 +195,5 @@ The Grant-CsGraphPolicy cmdlet returns an object of type Microsoft.Rtc.Managemen
193195
## NOTES
194196

195197
## RELATED LINKS
196-
198+
[Get-CsGraphPolicy](https://docs.microsoft.com/en-us/powershell/module/skype/get-csgraphpolicy?view=skype-ps)
197199

0 commit comments

Comments
 (0)