Menu

Virtual Geek

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

Blog posts

Create and configure VMWare vSphere VSAN cluster step by step

January 16, 2018 03:09PM

VMware vSAN is a Hyper-Converged storage (Software Defined Storage) solutions with a vSphere-native, high-performance architecture. With software defined storage, it has opened new opportunities to new skills. With vSAN we can use local disk and create highly available, scalable, high performance da…

Read more

Emulate HDD as SSD flash disk on Esxi and VMware workstation

January 14, 2018 09:03PM

I was required (emulated) virtual fake SSD in VMware workstation for few demos and testing purpose. I am already using SSD on my system, If vmdks are kept on the Solid state drives, VMs detects vmdk disks as SSD/Flash disk, but if you don't have SSD, it can be easily emulated with a trick configurat…

Read more

Configuring a vCenter PSC Single sign-on Active directory Integrated windows authentication

January 14, 2018 02:16PM

In my one of the earlier article I shown ADDING AND CONFIGURING VMWARE VSPHERE VCENTER SSO ACTIVE DIRECTORY AS LDAP SERVER, That was one of the security best practices, Here I am going to perform the same task but will use Active directory integrated windows authentication way instead. For this fe…

Read more

Copy Files with PowerShell Remoting WINRM Protocol

January 11, 2018 12:21PM

Microsoft Powershell psremoting is just not limited to remoting into computers, it can also use to copy files over winrm protocol to remote system the same way, you use files are copied on traditional SMB protocol. This requires some psremoting configuration using POWERSHELL PS REMOTING BETWEEN CO…

Read more

Generate random password GUI using powershell

January 6, 2018 11:08PM

I had one of the requirement to write Strong Random Password Generator :Microsoft Powershell earlier but it was completely command line based, and the applications users who were using it, due to non-technical background were not able to execute it correctly, So the team who requested the script wa…

Read more

Reset ESXi root password using vCenter server: VMWare vSphere Web client

January 4, 2018 12:49PM

Recently I got assigned one of the VMware project, while taking handover I found esxi root passwords are not documented properly for the VMware infrastructure project, Luckily 40% Esxi host were joined into domain and I was able to reset password using Reset forgotten ESXi root password on Domain…

Read more

Powershell Active Directory: Show treeview of nested Group members downstream hierarchy

January 3, 2018 01:29PM

This script is second part of my earlier article Powershell Active Directory: Show treeview of User or Group memberof hierarchy, earlier was showing upstream tree view of nested MemberOf groups. After writing the first script I got another requirement to show treeview in reverse order, Group member…

Read more

Strong Random Password Generator :Microsoft Powershell

January 2, 2018 03:57PM

This is my first article in the starting of year 2018, I have taken and re-written it from my earlier post. This script is written completely from scratch. This generates very strong random password. It randomize a chooses each password character using .net class object System.Security.Cryptograph…

Read more

Powershell execution policy setting is overridden by a policy defined at a more specific scope

December 31, 2017 01:38AM

While setting up execution policy (Set-ExecutionPolicy) on powershell, there might be a below error.

Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by a policy defined at a more specific scope.  Due to the override, your shell wi…

Read more

The top 10 reasons to upgrade to VMware vSphere 6.5

December 29, 2017 04:18PM

1. Reorganize Administration and Management with a New and modern HTML5-Based User Interface 
Administer and manage the virtual data center with the responsive, easy-to-use new HTML5-based vSphere client interface. Although I am still big fan of vsphere client, As new versions of vsphere will be k…

Read more

Create your Microsoft Azure 12 Months Free Account

December 29, 2017 02:31PM

When you create or register a new account on Microsoft azure (https://azure.microsoft.com/en-in/free/),  you will get $200 credit (Around 13,300 INR) for use to be Within 30 days of period. You can use this credit limit to use and test any Azure service and product for free completely. After 30 d…

Read more

Add NFS datastores to VMware ESXi hosts using PowerCLI

December 20, 2017 01:54PM

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

Microsoft Powershell generate random anything (Filename, TempPath, GUID, Password)

December 18, 2017 01:03AM

When I write PowerShell scripts, many times I require random file name, folder path, numbers and strings keys, few .net and native PowerShell v5 cmdlets helps me to generate random required information easily, it saves time and don't have to generate random names or number or even password manually…

Read more

Microsoft Powershell: Windows 2016 Install and configure NFS server

December 16, 2017 04:51PM

Unmount NFS datastores from VMware ESXi and NFS is in use

December 10, 2017 01:53PM

Mounting NFS datastore on ESXi server is very easy, similar way you might need to remove/unmount NFS share from ESXi server for maintenance or migration purpose. To unmount it, open VMWare vSphere Web Client and select Storage tab, from the list select NFS datastore, right click on it and sele…

Read more

Mount NFS share to multiple ESXi hosts

December 9, 2017 07:56PM

"A datastore with the same name and backing configuration already exists in the current datacenter. Change the datastore name and backing configuration to continue."

While adding NFS datastore on esxi server I saw above error. This NFS drive was already added on the Esxi001 successfully, but when…

Read more

VMWare ESXi add and create NFS datastore

December 9, 2017 12:55PM

In the earlier article Microsoft Windows 2016 Install and configure NFS server for ESXi and Linux, I shown on installing and configuring NFS server on Microsoft Windows 2016 sever. NFS datastores is one of the file type of datastore to keep virtual machines on VMWare Esxi server, This is also good …

Read more

Microsoft Windows 2016 Install and configure NFS server for ESXi and Linux

December 7, 2017 03:33PM

NFS (Network file system) is a distributed file sharing solution for diversified cross platform environments. It was originally designed to run on Sun solaris, This also supports and works well on windows and non-windows computers. NFS uses RPC and usually use Port (TCP and UDP) 111 and 2049. There …

Read more

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

How to Install and Use Microsoft PowerShell on Linux

November 30, 2017 01:50PM

As Microsoft has made Powershell open source and can be installed and used on different operating system family (Linux and MacOS), Basically Microsoft is working towards new Powershell Core make it available everywhere now and it is cross platform. As I don't have much knowledge on bash scripting, I…

Read more

20 Blog Posts