About Me

My photo
HANUMANGARH, RAJASTHAN, India

Thursday 23 July 2020

Wednesday 22 July 2020

How to know running vcentre us appliance or windows server.

Use below two command in powershell to determine running on Appliance or Window 

$server = Connect-VIServer -Server 192.168.x.x

$Server.ExtensionData.Content.about

It will tell in OS Type, if it is Linux-64, yes it definitely appliance. If not, yes Window 👍

Tuesday 21 July 2020

Fetch Disk information with size and host informatuon in csv file

The code is:   #Get the server list
$servers = Get-Content D:\server1.txt
#Run the commands for each server in the list
$infoColl = @()

Tuesday 14 July 2020

Get Vcentre Install State

Get the vmdk size via script..


Add-PSSnapin VMware.VimAutomation.Core

Set-PowerCLIConfiguration -InvalidCertificateAction ignore -Confirm:$False

 

#Connect to the VCenter server

 

Export contact from Justdial

  Extract Data From JustDial using Selenium Let us see how to extract data from Justdial using Selenium and Python. Justdial is a company th...