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…
Blog posts : "Powercli"
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 …
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…
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…
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…
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…
VMWARE SECURITY BEST PRACTICES: POWERCLI ENABLE OR DISABLE ESXI SSH
Logging into SSH required in some of the common troubleshooting scenario or fetching information: ie checking logs, telnet, ping, esxtop etc, Although subject title of this blog is mentioned Powercli, but I am showing all ways to enable SSH service on esxi including GUI as well, By default SSH serv…
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…
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…
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. …
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…
POWERCLI - CREATE DATACENTER AND ADD ESXI HOST IN VCENTER
Few days back I wrote CREATE VIRTUAL DATACENTER AND ADD ESXI HOST ON VCENTER SERVER using vSphere web client. That was completely graphical user interface GUI way to perform the task. Now I will be performing same task using VMware vSphere Powercli tool. I have downloaded it from http://www.vmware.…
POWERCLI INITIALIZE-POWERCLIENVIRONMENT.PS1 CANNOT BE LOADED BECAUSE RUNNING SCRIPTS IS DISABLED
VMWARE VSPHERE POWERCLI INSTALLATION AND CONFIGURATION STEP BY STEP
After installing VMware vSphere PowerCLI installer, when running it for first time you may see below error on the PowerCLI console.
. : File C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\Scripts\Initialize-Po…
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,…
Blog Search
Page Views
7699971
Archive
- March 2022 (8)
- December 2021 (9)
- November 2021 (6)
- October 2021 (12)
- September 2021 (10)
- August 2021 (8)
- July 2021 (9)
- June 2021 (9)
- May 2021 (11)
- April 2021 (8)
Comments
-
Ryan DunbarJune 22, 2022 06:42PM
-
ThankfulSEJune 19, 2022 12:22PM
-
KhaledJune 10, 2022 04:41AM
-
DenisJune 8, 2022 11:51AM
-
AnonymousJune 1, 2022 02:50PM