Another quick blog post about changing domain controller IP and updating FMSO. Change Domain IP Run CMD as admin Step1Dcdiag /s:LAB-DC01 Step2change IP to new IP Step3Ipconfig /flushdns Step4Ipconfig /registerdns step5Dcdiag /fix netdom query fsmo Move-ADDirectoryServerOperationMasterRole -Identity LAB-DC02 -OperationMasterRole SchemaMaster, DomainNamingMaster, PDCEmulator, RIDMaster, InfrastructureMaster Windows Extend License (run in powershell and extend domain) slmgr -rearm
VMware
Lab StartUp Script – Using PowerCLI – VirtuallyThatGuy
This is a handy script I was playing with to startup my lab remotely. I hope you find some of the commands useful.
vSphere ESXi 6.x or 7.x on Intel x5660 CPU – Legacy CPU for vSphere 7 – Virtually That Guy
This is quick blog post about hack for running ESXi 7.0 on legacy CPU in my case x5660. CPU_SUPPORT ERROR: The CPU in this host is not supported by ESXi 7.0.0. Please refer to the VMware Compatibility Guide (VCG) for the list of supported CPUs. It could be fix during boot by pressing SHIFT+ O and…
Lab Shutdown Script – Using PowerCLI – VirtuallyThatGuy
This is a handy script I was playing with to shutdown my lab remotely. I hope you find some of the commands useful
How To Increase VMware Datastore Using Powershell or Powercli – VirtuallyThatGuy
This is a quick blog post on how to increase VMFS datastore size using powercli. I recently installed workstation on my desktop to run nested vSAN for testing. I found out that using the native UI took a while so took the challenge to use cli instead. Script used below:
Script: How to Increase Multiple Virtual Machines VMs vCPU and vMem using a CSV and PowerCLI
This is an updated blog posted requested by one of the regular users of this blog. IMPORTANT NOTE – the script will recursively shutdown each VM defined in CSV (unless Hot Add is already enabled), apply the config then power each VM back on. So make sure you run this script in an outage window….
How To Rename Multiple ESXi Local Datastore With PowerCLI – VirtuallyThatGuy
This is a quick blog post to rename multiple datastore to Hostname-local using the residing cluster . Use case could be after auto deploy from stateless to stateful.
Migrate VMs from VSS to VDS, Change PSP for ESXi Host to RoundRobin, Change Default PSP and SATP – Using Powercli – VirtuallyThatGuy
VM disk space usage, Get-VM or VMhost LOGS, VM Snapshot Report to CSV – Using Powercli – Virtually That Guy
Cluster Inventory Report or CMDB Report for VMs, Cluster, Hosts, vCenter – Using PowerCLI – VirtuallyThatGuy
A quick blog post about gathering VM information for VMs running in your estate.