Menu

Virtual Geek

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

Blog posts

Microsoft Powershell: Download a whole folder of files/subfolders from the web directory

One of my friend was seeking my help creating a script to download bulk files and folder from internal office training web portal, just newly created. Folders and files web structure was looking like below. The first url link shows what are the different training material was available, downloading …

Read more

Powershell WPF GUI: LinkLabel hyperlink demo

I have done so much automation using winforms powershell, now I am slowly moving my scripts to WPF, unlike my earlier article Powershell WPF GUI: ToolBox control Textbox watermark placeholder demo here in this article I will show how to create LinkLabel in WPF. When I was going through Microsoft…

Read more

Powershell WPF GUI: ToolBox control Textbox watermark placeholder demo

microsoft powershell, wpf, windows presentation frameworks winforms, textbox control toolbox, visual studio, watermark textbox powershell

In this demo I will be showing how to put PlaceHolder text on textbox control on Powershell WPF (Windows presentation framework) GUI. here I have 3 textboxes. When I launches GUI, all the textboxes shows some default darkgray color watermark text information. When I click on them text will autom…

Read more

Part 3: Create shorter Microsoft Powershell WPF automated clean script

Currently I am working on rewriting all my VBscript and Powershell GUI script using WPF (Windows presentation platform). When building a graphical xaml forms on Visual studio as shown earlier on Part 1: Create WPF XAML powershell GUI form with Visual studio, I had to remove many elements manually b…

Read more

Microsoft Powershell GUI: Change Internet Options connections Lan settings proxy server grayed out

Powershell winform wpf mix gui, graphical interface, change registry proxy settings hack internet option connections tab enable proxy

One of my friend wanted a small proxy settings hack tool which I created using Powershell script, it is very small tool and helps to change proxy server settings, It can changed when Internet Options >> Connections tab is either missing or Lan settings button is disabled, and you still want to c…

Read more

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

How to convert RDM disk (Raw Device Mapping) to VMDK

In my previous article I shown Adding and sharing RDM disk to multiple VMs in VMware step by step, I received one related task to convert virtual machine RDM (Raw device mapping) hard disk to VMDK disk. Basically I require it to convert because, I was not going to use microsoft clustering anymore, a…

Read more

ESXi 6.0 update offline bundle via esxcli commandline: DependencyError VIB bootbank requires VSAN ImageProfile

After completing updating my most of the ESXi 6.5 hosts in the environment as shown in ESXi 6.5 upgrade bundle via command line: No Space Left On Device Error, I wanted few standalone ESXi server to update to 6.0 version, for same offline bundle can be downloaded from my.vmware.com. I uploaded cop…

Read more

ESXi HP Blade start issue Enclosure power event detected, System Halted until power condition is corrected

Sometimes I receive below error on the HP Prolient Bladesystem ILO after server reboot, it refuses to complete post, shows message, 
Enclouse Power Even Detected
System Halted until Power Condition is Corrected

In most of the case to resolve it I reseat the blade in chassis enclosure (Remove …

Read more

ESXi 6.5 upgrade bundle via command line: No Space Left On Device Error

I received few standalone ESXi 6.5 hosts for patching for branch office, I wanted to upgrade build number on server, As there was no option of VMWare update manager for standalone esxi. Here I upgraded them using offline bundle zip. These requires offline bundle zip to be be downloaded from url …

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

Resolved: Reset Esxi forgotten root password using hiren bootCD step by step

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

Resolved syslog error: Call OptionManager.UpdateValues for object ha-adv-options on ESXi failed

I configured successfully syslog on esxi server around thousand of esxi server in my environment with Configure syslog on VMware ESXi hosts: VMware best practices. But while configuring syslog on few esxi server I receive below error. In the Esxi edit advanced option on Syslog.global.logHost it was …

Read more

Microsoft Powershell: Export remote registry information to excel

Adding and sharing RDM disk to multiple VMs in VMware step by step

I had a requirement to configure Two node Microsoft failover clustering on VMware VMs in my office, The plan was to configure clustered file server. Virtual machines has to be separated from each other and should be located on different esxi servers, My first task was to provide my colleague wintel …

Read more

How to force a PowerShell DSC client to refresh configuration from pull server

While testing DSC (Desired State Configuration) Pull method on client, I had to forcefully refresh configuration from pull many times, as I could not wait for 30 Mins of frequency time to apply the changes. Below cmdlet helps to refresh configuration immediately. This command need to run as an Admin…

Read more

Part 3: Configure PowerShell DSC Local configuration manager LCM in pull mode and update configuration

This is last part of configuring individual clients local configuration manager (LCM) in DSC pull mode so they can get and retrieve configuration copy every certain refresh frequency mode. You can treat LCM as an agent and it is by default there in on every system. where at least Poweshell version 4…

Read more

Part 2: Generate target server node config for PowerShell DSC pull server

Part 1: Build your first Microsoft PowerShell DSC pull server

Here in this demo I am writing on how to build and configure basic Powershell DSC http pull server, this is just a simple http server no ssl certificate involved, In my earlier article DSC (DESIRED STATE CONFIGURATION) : DEPLOYING ACTIVE DIRECTORY, where I had explained what is desired state config…

Read more

20 Blog Posts

Blog Search

Page Views

1490037

Follow me on Blogarama