Tuesday, July 18, 2023

How to Install Windows 11 VM on ESXi Host for Capturing MDT Image

 Once you create the VM on the ESXi Host, Boot from Windows 11 ISO

You will get the below Error message.










Press Shift +F10 and Enter the below command

REG ADD HKLM\SYSTEM\Setup\LabConfig /v BypassTPMCheck /t REG_DWORD /d 1

Type Exit, and you can start the installation process again.

NB: Make sure you delete the Registry Key before you do the MDT Capture process.

Friday, May 12, 2023

Powershell script to find a Folder location in outlook

Very useful when you have hundreds of folders in the user mailbox or shared mailbox, and you want to find a specific folder that was accidentally moved. 


Import-Module ExchangeOnlineManagement

Connect-ExchangeOnline -UserPrincipalName <Enter your admin exchange admin or global admin credentials>

# Search for the folder

$folder = Get-MailboxFolderStatistics -Identity "enter the mailbox address" | Where-Object {$_.Name -eq $folderName}

# Check if the folder exists

if ($folder -ne $null) {

    Write-Host "The folder '$folderName' is located at $($folder.FolderPath)"

} else {

    Write-Host "The folder '$folderName' was not found."

}

# Disconnect from the mailbox

Remove-PSSession $session

How to Install Windows 11 VM on ESXi Host for Capturing MDT Image

 Once you create the VM on the ESXi Host, Boot from Windows 11 ISO You will get the below Error message. Press Shift +F10 and Enter the belo...