You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
This example creates a new policy to block external file transfer. Then you can use `Grant-CsExternalUserCommunicationPolicy` to assign it to an user account.
33
33
34
34
## PARAMETERS
35
35
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
-
116
36
### -EnableP2PFileTransfer
117
-
{{Fill EnableP2PFileTransfer Description}}
37
+
Indicates whether file transfers to Federated partners are allowed. The default value is True.
118
38
119
39
```yaml
120
40
Type: Object
@@ -129,24 +49,8 @@ Accept pipeline input: False
129
49
Accept wildcard characters: False
130
50
```
131
51
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
-
148
52
### -Identity
149
-
{{Fill Identity Description}}
53
+
Unique identifier for the external user communication policy to be created.
150
54
151
55
```yaml
152
56
Type: Object
@@ -161,24 +65,16 @@ Accept pipeline input: False
161
65
Accept wildcard characters: False
162
66
```
163
67
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:
166
70
167
-
```yaml
168
-
Type: SwitchParameter
169
-
Parameter Sets: (All)
170
-
Aliases:
171
-
Applicable: Skype for Business Online
71
+
`-Tenant "38aad667-af54-4397-aaa7-e94c79ec2308"`
172
72
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:
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.
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).
215
114
216
115
```yaml
217
116
Type: SwitchParameter
@@ -240,4 +139,10 @@ This cmdlet supports the common parameters: `-Debug, -ErrorAction, -ErrorVariabl
0 commit comments