Hybrid migration from Exchange 2016 to Office 365

Hybrid migration from Exchange 2016 to Office 365 Cloud High Level Migration Approach 1. Generate Users’ Mailbox usage with PowerShell Script on Exchange 2016 Server to identify which mailbox need to be migrated 2. Add addtional User Principle Name (UPN) – Aventislab.com in AD, and update all users with the new UPN 3. Upgrade Forest …

Read moreHybrid migration from Exchange 2016 to Office 365

Migrate VMware vSphere 5.5 / 6.0 to 6.5U2 with CLI

Steps to migrate VMware vSphere 5.5 / 6.0 to 6.5U2 with CLI A. Upgrade the vCenter Server Appliance (VCSA) 6.0 to 6.6U2d It will provision a new VCSA 6.5 which is now running on PhotonOS during the migration and export / import all data from existing VCSA 6.0 to 6.5 automatically Prepare a VcsaUpgrade.json file …

Read moreMigrate VMware vSphere 5.5 / 6.0 to 6.5U2 with CLI

Move Mailbox to Office 365 with PowerShell

Refer to the steps below on how to Move Mailbox to Office 365 with PowerShell Prepare a csv file EmailAddress uat5@aventislab.com uat6@aventislab.com The header for this column must be named EmailAddress Assign Office 365 License to all users listed in the CSV file #Assign License $Users = Import-Csv “C:\Temp\MailboxToMigrate.csv” $AccountSKU = Get-MsolAccountSku | ? AccountSkuID …

Read moreMove Mailbox to Office 365 with PowerShell

Assign Office 365 License with PowerShell

Please refer to the steps below on how to assign office 365 license with powershell List all the ServicePlan for E3 #Office 365 License for E3 Get-MsolAccountSku | Where-Object {$_.SkuPartNumber -eq ‘ENTERPRISEPACK’} | ForEach-Object {$_.ServiceStatus} ServicePlan ProvisioningStatus ———– —————— BPOS_S_TODO_2 Success FORMS_PLAN_E3 Success STREAM_O365_E3 Success Deskless Success FLOW_O365_P2 Success POWERAPPS_O365_P2 Success TEAMS1 Success PROJECTWORKMANAGEMENT Success …

Read moreAssign Office 365 License with PowerShell

PowerShell to Provision User Account in AD

Refer to the steps on how to use powershell to provision user account in AD for lab testing purpose #Create a New OU $OU = “UAT” New-ADOrganizationalUnit -Name $OU #Parameter for New Users $Path = Get-ADOrganizationalUnit -Filter {Name -eq $OU} $User = “UAT” $UPN = “aventislab.com” $LastName = “TEST” $Password = “P@ssw0rd!@#$” #To create 10 …

Read morePowerShell to Provision User Account in AD

Provision a Single Exchange 2016 with PowerShell

Steps to provision a Single Exchange 2016 with PowerShell Prepare a Windows 2016 Standard Server with Servicing stack update 2018-11 Cumulative Update-KB4467691 – Download the latest Cumulative from Microsoft Unified Communications Managed API 4.0 Runtime Visual C++ Redistributable Packages x64 Exchange 2016 CU9 Enable PreRequisite #Install PreRequisite Install-WindowsFeature NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, ` RSAT-Clustering-PowerShell, …

Read moreProvision a Single Exchange 2016 with PowerShell

Generate SSL Certificate with PowerShell

Steps to Generate SSL Certificate with PowerShell Replace the $CommonName & $SANNames with your own FQDN to be included in SSL Certificate #Prepare CSR File with SAN $CommonName = “webmail.aventislab.com” $SANNames = @(“autodiscover.aventislab.com”,”mail.aventislab.com”) $Date = (Get-Date).ToString(‘ddMMyyyy’) $ReqFile = “Cert_Req-$CommonName-” + “$Date” + “.csr” $InfFile = @” [NewRequest] Subject = “CN=$CommonName” KeySpec = 1 KeyLength = …

Read moreGenerate SSL Certificate with PowerShell

Extend Layer2 Network Across Data Center with FortiGate VXLAN

I had prepared a lab to study the concept of how to Extend Layer2 Network Across Data Center with FortiGate VXLAN What is VXLAN Virtual eXtensible LAN (VXLAN – RFC7348) act as Layer 2 virtual networks over Layer 3 physical networks to stretch Layer 2 networks. It uses MAC Address-in-User Datagram Protocol (MAC-in-UDP) encapsulation. The …

Read moreExtend Layer2 Network Across Data Center with FortiGate VXLAN

Install PowerShell Core with PowerCLI on ubuntu 18.04

Steps to install PowerShell Core with PowerCLI on ubuntu 18.04 Switch to root and install PowerShell Core #Switch to root su – # Download the Microsoft repository GPG keys wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb # Register the Microsoft repository GPG keys sudo dpkg -i packages-microsoft-prod.deb # Update the list of products sudo apt-get update # Install PowerShell …

Read moreInstall PowerShell Core with PowerCLI on ubuntu 18.04