Menu

Virtual Geek

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

Blog posts : "powercli"

vMotion from all VMs on selected Esxi Host to other Esxi host via PowerCLI GUI

Currently I am doing complete VMware environment upgrade in my office in terms of hardware as well, After few plans I found most of my Esxi servers in VMWare clusters in my office were over committed. First question was by my boss was how do we perform it without degrading current VMs performance. T…

Read more

Upload files to vmware ESXi datastore: Different methods

Copying files to VMware Datastores is an easy task. Here in this article, I am showing 3 different methods to upload files to VMware datastores, You can use these methods to copy offline bundle zip, VIB, VMDK or ISO files. Ifyou are using VMWare vSphere web client to upload files to datastore, make …

Read more

Powercli GUI: Determine the EVC Mode that vmware cluster should be configured

vmware vsphere esxi cluster, enhanced vmotion mode evc, cpu manufacturer, cpu generations, failover, drs, ha, vmware high availibility, distributed resource scheduler

I was evaluating one of the old project hosted on VMware in my office for a client, After ruff capacity calculation I found scarce of compute and memory resources in the VMware clusters. Few meetings and decisions, and sharing complete excel data and capacity planning for upcoming VMs, we decide…

Read more

Add NFS datastores to VMware ESXi hosts using PowerCLI

Warning: Windows NFS server is not listed on VMWare HCL as Esxi NFS datastore. I am using it as a demo purpose.

In this article I will use NFS mount created earlier in Microsoft Powershell: Windows 2016 Install and configure NFS server. Mounting the same NFS datastore storage on Esxi servers or …

Read more

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

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

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

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

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

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

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

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

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

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

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

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

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

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

17 Blog Posts

Blog Search

Page Views

1170202

Follow me on Blogarama