Virtualization is a technology that creates virtual versions of computer hardware such as servers, storage, and networks. This allows multiple operating systems to run on one physical machine, increasing flexibility and resource utilization. It's widely used in data centers and cloud computing to increase efficiency and scalability. Types include server, storage, and network virtualization. Server virtualization creates virtual versions of physical servers known as VMs which can run their own OS
Showing posts with label esxcli vmware powercli. Show all posts
Showing posts with label esxcli vmware powercli. Show all posts
October 13, 2018
Get Virtual Machines provisioned Disk size for a list of VMs
Below is a script to get VM provisioned Disk size from list of VMs in a .txt file
you will be getting Total provisioned Disk size for each VM in the list and output will be save to a CSV file
#Get Virtual Machines Disk size for a list
$vmList = Get-Content D:\temp\inputFile.txt
$results= foreach ($vmName in $vmList) {Get-VM $vmName | Select-Object Name,@{n="HardDiskSizeGB"; e={(Get-HardDisk -VM $_ | Measure-Object -Sum CapacityGB).Sum}}}
$results | Export-Csv "D:\temp\file.csv"
Redirecting to a CSV file
| Export-Csv "D:\temp\file.csv
Invoke lines from a text file to Power CLI
$vmList = Get-Content D:\temp\inputFile.txt
June 4, 2017
Usefull Esxcli network ip commands
esxcli network ip interface list
esxcli network ip interface ipv4 get -n vmk<X>
esxcli network ip interface ipv6 get -n vmk<X>
esxcli network ip interface ipv6 address list
You can retrieve information about DNS with the esxcli network ip dns command in the following two namespaces:
esxcli network ip dns search
esxcli network ip dns server
For information corresponding to the Linux netstat command, use the following ESXCLI command.
esxcli network ip connection list
esxcli network ip interface ipv4 get -n vmk<X>
esxcli network ip interface ipv6 get -n vmk<X>
esxcli network ip interface ipv6 address list
You can retrieve information about DNS with the esxcli network ip dns command in the following two namespaces:
esxcli network ip dns search
esxcli network ip dns server
For information corresponding to the Linux netstat command, use the following ESXCLI command.
esxcli network ip connection list
Subscribe to:
Posts (Atom)
-
Today I was working on my Test environment i got this issue - I was trying to ssh form one Esxi to another and I got below error FIPS...
-
Today while working I engage with below error when trying to add a Virtual Media to UCS Server "cisco virtual media redirection is ...
-
Windows Error 0x80070718: Not enough quota is available to process this command... one of user had above issue - check the serv...