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

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

How to Add Database to SQL Availability Group

Please refer steps below on How to Add Database to SQL Availability Group A. Download and Restore the Sample database 1. Download SQL 2016 Sample Database – Around 125MB Login to SQL1 and restore the downloaded Database Select the path of the downloaded Database Select the path where to store SQL Database You can also …

Read moreHow to Add Database to SQL Availability Group

Migrate Hyper-V VM to new volume with RoboCopy

Here is the approach that we take to migrate Hyper-V VM to new volume with RoboCopy for a standalone Hyper-V Server without SCVMM Manager to perform Live Storage Migration. However, this approach will neeed long downtime of all Virtual Machines (VMs) Prepared the new Volume (F) with same or greater size that original volume where …

Read moreMigrate Hyper-V VM to new volume with RoboCopy

Disable JAVA Update with GPO

Please refer to the steps below on how to disable JAVA Update with GPO Default configuration of Java Update configured Check the Registry related to Java Update in Windows 10 $RegPath=”HKLM:\SOFTWARE\WOW6432Node\JavaSoft\Java Update\Policy” Get-ItemProperty $RegPath EnableJavaUpdate : 1 PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\JavaSoft\Java Update\Policy PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\JavaSoft\Java Update PSChildName : Policy PSDrive : HKLM PSProvider : Microsoft.PowerShell.Core\Registry Disable …

Read moreDisable JAVA Update with GPO

Setup SQL 2017 AlwaysOn Availability Group with PowerShell

Refer to the steps below on how to Setup SQL 2017 AlwaysOn Availability Group with PowerShell Components installed in this lab Hostname IP Address Remarks lab-sql1.lab.local 172.16.16.201 SQL 2017 Enterprise Server lab-sql2.lab.local 172.16.16.202 SQL 2017 Enterprise Server sqlclus.lab.local 172.16.16.210 Failover Cluster sqlag.lab.local 172.16.16.212 SQL Listener lab-ad01.lab.local 172.16.16.200 AD Domain Controller & File Share Witness A. …

Read moreSetup SQL 2017 AlwaysOn Availability Group with PowerShell

Nutanix CE in Nested VM for Lab Testing

Please refer to the steps below on how to install Nutanix CE in Nested VM for lab testing purpose The following VM will be builded in ESXi 6.0 Host No Name IP Address 1 LAB-NTX1 192.168.88.120 CVM (Nested VM) 192.168.88.121 2 LAB-NTX2 192.168.88.122 CVM (Nested VM) 192.168.88.123 3 LAB-NTX3 192.168.88.124 CVM (Nested VM) 192.168.88.125 Download …

Read moreNutanix CE in Nested VM for Lab Testing