Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Blog posts : "powercli"

VMware Powercli : Gather distributed virtual switch information to JSON file to migrate standard switch

December 4, 2017 11:48AM

I have already written complete series on how to migrate distributed virtual switch to Standard virtual switch which helps to move Esxi host from one vCenter to another vCenter server. As you should not remove Esxi directly with distributed switch from vCenter until you move it to standard virtual s…

Read more

Join domain ESXi to an Active Directory OU : Powercli

November 27, 2017 02:44PM

I received request from my internal team to provide a small solution on Esxi Domain join and created when pulled it in domain computer account should be created in specific OU (Organization Unit). To perform this task first, we need complete OU path, to find it open Active Directory Users and Comp…

Read more

Resolved: Esxi Join domain failed-Error in Active Directory Operations

November 26, 2017 11:07AM

This is some times common, you document something and if don't implement it or use something since long, you might forget knowledge or the issues you resolved earlier. I was automating join domain ESXi servers, while trying joining I was keep getting error: Errors in Active directory operations. I a…

Read more

Copy or clone distributed virtual switch portgroups to standard switch portgroups - Powercli

November 13, 2017 12:11PM

Migrating ESXi server from one vCenter server to another vCenter server is very easy task if complete networking is on standard virtual switches. When migrating ESXi server with distributed virtual switches to another VC is also easy but requires extra steps. First it is recommended to move back fro…

Read more

vSphere PowerCLI - Configure syslog on VMware ESXi hosts and Enable security profile firewall

November 1, 2017 01:55PM

In my earlier article I wrote about Configure syslog on VMware ESXi hosts: VMware best practices using VMWare vSphere web client GUI. Configuring syslog server on multiple esxi host servers manually by clicks is very boring task, As automation is everywhere, use it to doing with better way in VMWar…

Read more

Reset forgotten ESXi root password on Domain joined Esxi using vSphere web client and Powercli

August 25, 2017 05:44PM

This article shows one of the reason why you always should follow best practices while configuring any environment. Here I will take a reference of my earlier blog . Few days back I received one personal project to work on, There was an issue, clients were wanted to perform some activity on ESXi ss…

Read more

POWERCLI AND VSPHERE WEB CLIENT: JOIN ESXI INTO ACTIVE DIRECTORY DOMAIN CONTROLLER

July 26, 2017 09:22AM

This is another best security guideline to always join Esxi server into domin, most preferable is Active Directory domain controller, One of the advantage is I can use domain-wide authentication with Domain joined ESXi, Means I don't have to use or share root or any local username to login, Creating…

Read more

POWERCLI: VIRTUAL MACHINE STORAGE MIGRATE/SVMOTION AND DATASTORE PORT BINDING MULTIPATHING

July 20, 2017 08:45AM

POWERCLI VMWARE: CONFIGURE SOFTWARE ISCSI STORAGE ADAPTER AND ADD VMFS DATASTORE

July 13, 2017 08:45PM

This blog article is similar to my previous notes VMWARE ESXI INSTALL AND CONFIGURE SOFTWARE ISCSI STORAGE ADAPTER FOR VMFS VERSION 6 DATASTORE. Here I am using VMware Powercli instead of vSphere web client to configure iScsi storage adpater and add new datastore. As this is complete powercli artic…

Read more

FIND FREE OR UNASSIGNED STORAGE LUN DISKS ON VMWARE ESXI SERVER

July 13, 2017 07:35PM

This is one of my small script. And I use it to find free or unassigned unforrmatted LUNs/Disks on Esxi server. When Lun or disk from storage (most probably remote) assigned and presented to Esxi server, this LUN doesn't have any partition, and unformatted as a raw disk, This is visible when you try…

Read more

POWERCLI: VMWARE ESXI CONFIGURE (VSWITCH) VMKERNEL NETWORK PORT FOR ISCSI STORAGE

July 10, 2017 06:42PM

In earlier chapter I created new VMKernel adapter using vSphere Web client GUI, Here I am going to perform same steps but using vmware powercli, If you are new to PowerCLI, need to set it up, I am suggesting check my another blog VMWARE VSPHERE POWERCLI INSTALLATION AND CONFIGURATION STEP BY STEP. …

Read more

VMWARE VSPHERE POWERCLI INSTALLATION AND CONFIGURATION STEP BY STEP

July 9, 2017 07:29PM

VMWare vSphere suite (vCenter, Esxi and other products) can be managed using powercli, It is software module installed as same as about to deprecate old vSphere c# client. Prerequisite is you must have Powershell on the client desktop or server from you are managing vSphere, by default Powershell av…

Read more

POWERCLI : ESXI SERVER SNMP CONFIGURATION USING ESXCLI COMMANDS

June 27, 2016 08:02PM

VMWARE VSPHERE POWERCLI INSTALLATION AND CONFIGURATION STEP BY STEP

I was configuring SNMP on multiple ESXi servers and I wanted to use only VMWare Powercli for this instead of Esxi SSH or vCLI commands, (I wanted avoid enabling SSH service and port on Esxi and didn't want to install vCLI tools,…

Read more

13 Blog Posts