-
Notifications
You must be signed in to change notification settings - Fork 68
/
SelectUnlicensedUsers.psf
407 lines (394 loc) · 25.1 KB
/
SelectUnlicensedUsers.psf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
<File version="2.1">
<FileID>71efec00-5a1d-41f4-9aa1-2aa36fbe683b</FileID>
<Preview>iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAAAXNSR0IArs4c6QAAAARnQU1BAACx
jwv8Y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5/j+4Ix
AAAAVquvxwBwzeWKb51SW9jDOu+cqxVcM+U7+o8O6NBwge4895u66g/vKr+8SiXZQbr52/9N98UO
aK5qm877xve1MaPLd/uZUv3m29/UbS8na9j2LX2suelJjQ32aE93vyanZr379XuMXyAGAADAmTY0
NKTxcXsG64f7JT89PT36+OOPFy45ZlUNAO8/8D39+KkofXTwoF3mGwDGi7bovKsvUmjNvI5OtOj9
jbfpwu//WLc+8rySOuyI2iP1L//jm/rhtTfpFz+7RTff8jP94pe36738Ec2UvasLLrtNMU1jOnRo
Xvv3H1J17NO65aof68KrfqXXEks1NjWvg3Z/hw4e0Oz0iX8d4heJAQAAcKalpaXpnnvu0cDAwMIl
Pu430T755JN65513vEX+eKtkAJixZ/3zinvsUn3r2k3q++SoPjnsnqIfVUPoffrJT29TVo/7Xr/v
AzjUk6GN//Yv+s7VL6uzO0u/+M65eip9xLtukXvb33jBW/rRpbcqvG7EGwDcmwU/8q6dV+nO+/Td
//9ivZLUqoMffaT9NoB81b9rgAEAALASIiMjde+993rP9h23+D/11FN66aWX7Mnvfu+y462OAcCa
t2fgQ1Xb9dNv/EDr3klSS1OzavJjdPvl39Hv3sjX4aPzqs3eoVfez1R7d6eyXlmn7/z49yqdPqCU
jRfru//8S0VW1auuKkvvvxWh9n1HtK/wNX33/BsUVDOswx99rPn+bL3xdoiySts1UBOtn/3gJ3os
plJ57/9O1/5io2omPtHhef/H90ViAAAArJTw8HDdf//9qqur06ZNm7zF398z/0WrZgBwv/HvwEcH
1VMWrfuuu0RXXnmlLr/0at3zarLGjxzRx4dm1Jj6hm786WV23RW6+sb7ldA0qv0HDuvA1JDCnrxO
F19+ha644jL99nXb5sARTdfH6b4NzyuzfUwHD32kg6Nleu7Om3WZu91lV+mJbTnad+iASj98QP+2
/iU1THysQwwAAICvEbeAf/KJ78fdd+3apeuuu05vvPGG9zv+HXf90aPLfoR+wSoaAFwzmj9wUIfs
YLzvyx86pMOHDmrO9jE1Na3Z+QN2oIfsukO+2+x3L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AAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAADw9fZnf/Z/AAhv0MhVw76NAAAAAElFTkSuQmCC</Preview>
<Object type="System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="formUnlicensedUsers" children="Controls">
<Property name="AutoScaleDimensions">144, 144</Property>
<Property name="AutoScaleMode">Dpi</Property>
<Property name="ClientSize">638, 163</Property>
<Property name="Font">Arial, 8.25pt</Property>
<Property name="FormBorderStyle">FixedDialog</Property>
<Property name="Name">formUnlicensedUsers</Property>
<Property name="Text">Unlicensed Users</Property>
<Event name="Load">formUnlicensedUsers_Load</Event>
<Object type="System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="labelUnlicensedUsers" children="Controls">
<Property name="Font">Segoe UI, 8pt</Property>
<Property name="Location">10, 65</Property>
<Property name="Name">labelUnlicensedUsers</Property>
<Property name="Size">68, 29</Property>
<Property name="TabIndex">60</Property>
<Property name="Text">Users:</Property>
</Object>
<Object type="System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="comboboxSelectUnlicensedUsers" children="Controls">
<Property name="Font">Segoe UI, 8pt</Property>
<Property name="FormattingEnabled">True</Property>
<Property name="Location">84, 65</Property>
<Property name="Name">comboboxSelectUnlicensedUsers</Property>
<Property name="Size">542, 29</Property>
<Property name="Sorted">True</Property>
<Property name="TabIndex">58</Property>
</Object>
<Object type="System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="buttonCancelformUnlicensedUsers" children="Controls">
<Property name="DialogResult">Cancel</Property>
<Property name="Font">Segoe UI, 8pt</Property>
<Property name="Location">132, 114</Property>
<Property name="Name">buttonCancelformUnlicensedUsers</Property>
<Property name="Size">118, 37</Property>
<Property name="TabIndex">61</Property>
<Property name="Text">&Cancel</Property>
<Property name="UseVisualStyleBackColor">True</Property>
</Object>
<Object type="System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="labelSelectUnlicensedUsers" children="Controls">
<Property name="Font">Segoe UI, 8pt</Property>
<Property name="Location">10, 9</Property>
<Property name="Name">labelSelectUnlicensedUsers</Property>
<Property name="Size">616, 45</Property>
<Property name="TabIndex">59</Property>
<Property name="TextAlign">MiddleLeft</Property>
</Object>
<Object type="System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="buttonformUnlicensedUsers" children="Controls">
<Property name="Anchor">Bottom, Right</Property>
<Property name="DialogResult">OK</Property>
<Property name="Font">Segoe UI, 8pt</Property>
<Property name="Location">364, 114</Property>
<Property name="Name">buttonformUnlicensedUsers</Property>
<Property name="Size">118, 37</Property>
<Property name="TabIndex">57</Property>
<Property name="Text">&OK</Property>
<Property name="UseVisualStyleBackColor">True</Property>
</Object>
</Object>
<Code><![CDATA[
$formUnlicensedUsers_Load = {
#What to do if connected to main account
If (Get-PSSession -name mainaccount -ErrorAction SilentlyContinue)
{
$UnlicensedUserscombo = Get-MsolUser -All | Where-Object { $_.isLicensed -like "False" } | Select-Object UserPrincipalName
Load-ComboBox $comboboxSelectUnlicensedUsers $UnlicensedUserscombo -DisplayMember UserPrincipalName
}
#What to do if connected to partner account
ElseIf (Get-PSSession -name partneraccount -ErrorAction SilentlyContinue)
{
$UnlicensedUserscombo = Get-MsolUser -TenantId $PartnerComboBox.SelectedItem.TenantID -All | Where-Object { $_.isLicensed -like $False } | Select-Object UserPrincipalName
Load-ComboBox $comboboxSelectUnlicensedUsers $UnlicensedUserscombo -DisplayMember UserPrincipalName
}
Else
{
$UnlicensedUserscombo = Get-MsolUser -All | Where-Object { $_.isLicensed -like "False" } | Select-Object UserPrincipalName
Load-ComboBox $comboboxSelectUnlicensedUsers $UnlicensedUserscombo -DisplayMember UserPrincipalName
}
}
#region Control Helper Functions
function Load-ComboBox
{
<#
.SYNOPSIS
This functions helps you load items into a ComboBox.
.DESCRIPTION
Use this function to dynamically load items into the ComboBox control.
.PARAMETER ComboBox
The ComboBox control you want to add items to.
.PARAMETER Items
The object or objects you wish to load into the ComboBox's Items collection.
.PARAMETER DisplayMember
Indicates the property to display for the items in this control.
.PARAMETER Append
Adds the item(s) to the ComboBox without clearing the Items collection.
.EXAMPLE
Load-ComboBox $combobox1 "Red", "White", "Blue"
.EXAMPLE
Load-ComboBox $combobox1 "Red" -Append
Load-ComboBox $combobox1 "White" -Append
Load-ComboBox $combobox1 "Blue" -Append
.EXAMPLE
Load-ComboBox $combobox1 (Get-Process) "ProcessName"
#>
Param (
[ValidateNotNull()]
[Parameter(Mandatory=$true)]
[System.Windows.Forms.ComboBox]$ComboBox,
[ValidateNotNull()]
[Parameter(Mandatory=$true)]
$Items,
[Parameter(Mandatory=$false)]
[string]$DisplayMember,
[switch]$Append
)
if(-not $Append)
{
$ComboBox.Items.Clear()
}
if($Items -is [Object[]])
{
$ComboBox.Items.AddRange($Items)
}
elseif ($Items -is [Array])
{
$ComboBox.BeginUpdate()
foreach($obj in $Items)
{
$ComboBox.Items.Add($obj)
}
$ComboBox.EndUpdate()
}
else
{
$ComboBox.Items.Add($Items)
}
$ComboBox.DisplayMember = $DisplayMember
}
#endregion
]]></Code>
<Mode>1</Mode>
<Assemblies>
<Assembly>mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Assembly>
<Assembly>System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Assembly>
<Assembly>System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Assembly>
<Assembly>System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Assembly>
<Assembly>System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>
<Assembly>System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Assembly>
<Assembly>System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Assembly>
</Assemblies>
</File>