Creating Exchange 2016 Users with Mailboxes from CSV – fast&easy

First, we need to prepare CSV. What I normally do is to open Excel, prepare the data and than save it as CSV in my case in C:\Temp\import.csv

Once we have CSV prepared, we can open Exchange Managment Shell and run following commands:

$Password = convertto-securestring $_.password -asplaintext -force

Import-CSV C:\temp\import.csv | ForEach {New-Mailbox -Name $_.name -firstname $_.firstname -lastname $_.lastname -userPrincipalName $_.userprincipalname -Password $Password -database $_.MBDB}

 

 

 

 

vSphere Web Client – flash not working under WS2016 and IE11

I was unable to open vSphere Web Client under IE11 installed on Windows Server 2016 and getting following error:

I tried to install Flash manually but that did not work, but I found recommendation to enable Flash package with DISM command:

dism /online /add-package /packagepath:"C:\Windows\servicing\Packages\Adobe-Flash-For-Windows-Package~31bf3856ad364e35~amd64~~10.0.14393.0.mum"

 

After server restart, vSphere Client started initialization:

Running Pfsense on Hyper-V server with VLANs

I was struggling to get running network connectivity on my Pfsense Virtual Machine running on Hyper-V with VLANs. I found a following way how to sort this out with power shell:

 

Get-VMNetworkAdapter -VMName "vmname" | Where-Object {$_.MacAddress -eq "XXXXXXXXXXXX"} | Set-VMNetworkAdapterVlan -Trunk -AllowedVlanIdList "1-100" -NativeVlanId 1

You will have to run it on Hyper-V, change your vmname, macaddress and adjust AllowedVlanList.