Skip to content

Commit 020fc0b

Browse files
authored
Update New-CsExternalUserCommunicationPolicy.md
1 parent 02db174 commit 020fc0b

File tree

1 file changed

+28
-123
lines changed

1 file changed

+28
-123
lines changed

skype/skype-ps/skype/New-CsExternalUserCommunicationPolicy.md

Lines changed: 28 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -8,113 +8,33 @@ schema: 2.0.0
88
# New-CsExternalUserCommunicationPolicy
99

1010
## SYNOPSIS
11-
New-CsExternalUserCommunicationPolicy \[-Identity\] \<XdsIdentity\> \[-Tenant \<guid\>\] \[-EnableFileTransfer \<bool\>\] \[-EnableP2PFileTransfer \<bool\>\] \[-AllowPresenceVisibility \<bool\>\] \[-AllowTitleVisibility \<bool\>\] \[-InMemory\] \[-BypassDualWrite \<bool\>\] \[-Force\] \[-WhatIf\] \[-Confirm\] \[\<CommonParameters\>\]
11+
Creates a new external user communication policy for use in your organization to block P2P file transfer with Federated partners only.
1212

1313
## SYNTAX
1414

1515
```
16-
New-CsExternalUserCommunicationPolicy [[-Identity] <Object>] [-AllowPresenceVisibility <Object>]
17-
[-AllowTitleVisibility <Object>] [-BypassDualWrite <Object>] [-Confirm] [-EnableFileTransfer <Object>]
18-
[-EnableP2PFileTransfer <Object>] [-Force] [-InMemory] [-Tenant <Object>] [-WhatIf] [-AsJob]
16+
New-CsExternalUserCommunicationPolicy [[-Identity] <Object>] [-EnableP2PFileTransfer <Object>] [-Tenant <Object>] [-AsJob] [-WhatIf]
1917
[<CommonParameters>]
2018
```
2119

2220
## DESCRIPTION
23-
The following parameters are not applicable to Skype for Business Online: AllowPresenceVisibility, AllowTitleVisibility, AsJob, EnableFileTransfer, Force, Identity, InMemory, PipelineVariable, and Tenant
21+
Before this cmdlet, Skype for Business Online already offered the ability to control P2P file transfer as part of the existing conferencing policy settings. However, this option allowed or blocked file transfer for users no matter if they are transferring files to a user who is hosted on the same company or Federated user.
22+
23+
This cmdlet allows you to block P2P file transfer with Federated partners only.
2424

2525
## EXAMPLES
2626

2727
### Example 1
2828
```
29-
PS C:\> {{ Add example code here }}
29+
PS C:\> New-CsExternalUserCommunicationPolicy -Identity BlockExternalP2PFileTransfer -EnableP2PFileTransfer $False
3030
```
3131

32-
{{ Add example description here }}
32+
This example creates a new policy to block external file transfer. Then you can use `Grant-CsExternalUserCommunicationPolicy` to assign it to an user account.
3333

3434
## PARAMETERS
3535

36-
### -AllowPresenceVisibility
37-
{{Fill AllowPresenceVisibility Description}}
38-
39-
```yaml
40-
Type: Object
41-
Parameter Sets: (All)
42-
Aliases:
43-
Applicable: Skype for Business Online
44-
45-
Required: False
46-
Position: Named
47-
Default value: None
48-
Accept pipeline input: False
49-
Accept wildcard characters: False
50-
```
51-
52-
### -AllowTitleVisibility
53-
{{Fill AllowTitleVisibility Description}}
54-
55-
```yaml
56-
Type: Object
57-
Parameter Sets: (All)
58-
Aliases:
59-
Applicable: Skype for Business Online
60-
61-
Required: False
62-
Position: Named
63-
Default value: None
64-
Accept pipeline input: False
65-
Accept wildcard characters: False
66-
```
67-
68-
### -BypassDualWrite
69-
{{Fill BypassDualWrite Description}}
70-
71-
```yaml
72-
Type: Object
73-
Parameter Sets: (All)
74-
Aliases:
75-
Applicable: Skype for Business Online
76-
77-
Required: False
78-
Position: Named
79-
Default value: None
80-
Accept pipeline input: False
81-
Accept wildcard characters: False
82-
```
83-
84-
### -Confirm
85-
Prompts you for confirmation before running the cmdlet.
86-
87-
```yaml
88-
Type: SwitchParameter
89-
Parameter Sets: (All)
90-
Aliases: cf
91-
Applicable: Skype for Business Online
92-
93-
Required: False
94-
Position: Named
95-
Default value: None
96-
Accept pipeline input: False
97-
Accept wildcard characters: False
98-
```
99-
100-
### -EnableFileTransfer
101-
{{Fill EnableFileTransfer Description}}
102-
103-
```yaml
104-
Type: Object
105-
Parameter Sets: (All)
106-
Aliases:
107-
Applicable: Skype for Business Online
108-
109-
Required: False
110-
Position: Named
111-
Default value: None
112-
Accept pipeline input: False
113-
Accept wildcard characters: False
114-
```
115-
11636
### -EnableP2PFileTransfer
117-
{{Fill EnableP2PFileTransfer Description}}
37+
Indicates whether file transfers to Federated partners are allowed. The default value is True.
11838

11939
```yaml
12040
Type: Object
@@ -129,24 +49,8 @@ Accept pipeline input: False
12949
Accept wildcard characters: False
13050
```
13151
132-
### -Force
133-
{{Fill Force Description}}
134-
135-
```yaml
136-
Type: SwitchParameter
137-
Parameter Sets: (All)
138-
Aliases:
139-
Applicable: Skype for Business Online
140-
141-
Required: False
142-
Position: Named
143-
Default value: None
144-
Accept pipeline input: False
145-
Accept wildcard characters: False
146-
```
147-
14852
### -Identity
149-
{{Fill Identity Description}}
53+
Unique identifier for the external user communication policy to be created.
15054
15155
```yaml
15256
Type: Object
@@ -161,24 +65,16 @@ Accept pipeline input: False
16165
Accept wildcard characters: False
16266
```
16367
164-
### -InMemory
165-
{{Fill InMemory Description}}
68+
### -Tenant
69+
Globally unique identifier (GUID) of the tenant account whose external user communication policy are being created. For example:
16670
167-
```yaml
168-
Type: SwitchParameter
169-
Parameter Sets: (All)
170-
Aliases:
171-
Applicable: Skype for Business Online
71+
`-Tenant "38aad667-af54-4397-aaa7-e94c79ec2308"`
17272

173-
Required: False
174-
Position: Named
175-
Default value: None
176-
Accept pipeline input: False
177-
Accept wildcard characters: False
178-
```
73+
You can return your tenant ID by running this command:
17974

180-
### -Tenant
181-
{{Fill Tenant Description}}
75+
`Get-CsTenant | Select-Object DisplayName, TenantID`
76+
77+
If you are using a remote session of Windows PowerShell and are connected only to Skype for Business Online you do not have to include the Tenant parameter. Instead, the tenant ID will automatically be filled in for you based on your connection information. The Tenant parameter is primarily for use in a hybrid deployment.
18278

18379
```yaml
18480
Type: Object
@@ -194,8 +90,7 @@ Accept wildcard characters: False
19490
```
19591

19692
### -WhatIf
197-
Shows what would happen if the cmdlet runs.
198-
The cmdlet is not run.
93+
Shows what would happen if the cmdlet runs. The cmdlet is not run.
19994

20095
```yaml
20196
Type: SwitchParameter
@@ -211,7 +106,11 @@ Accept wildcard characters: False
211106
```
212107

213108
### -AsJob
214-
{{Fill AsJob Description}}
109+
Indicates that this cmdlet runs as a background job.
110+
111+
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.
112+
113+
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).
215114

216115
```yaml
217116
Type: SwitchParameter
@@ -240,4 +139,10 @@ This cmdlet supports the common parameters: `-Debug, -ErrorAction, -ErrorVariabl
240139
## NOTES
241140

242141
## RELATED LINKS
142+
[Set-CsExternalUserCommunicationPolicy](https://docs.microsoft.com/en-us/powershell/module/skype/set-csexternalusercommunicationpolicy?view=skype-ps)
143+
144+
[Get-CsExternalUserCommunicationPolicy](https://docs.microsoft.com/en-us/powershell/module/skype/get-csexternalusercommunicationpolicy?view=skype-ps)
145+
146+
[Remove-CsExternalUserCommunicationPolicy](https://docs.microsoft.com/en-us/powershell/module/skype/remove-csexternalusercommunicationpolicy?view=skype-ps)
243147

148+
[Grant-CsExternalUserCommunicationPolicy](https://docs.microsoft.com/en-us/powershell/module/skype/grant-csexternalusercommunicationpolicy?view=skype-ps)

0 commit comments

Comments
 (0)