ESX is VMware's bare-metal hypervisor and forms the basis of its enterprise virtualization platform.
Questions tagged [esx]
100 questions
0
votes
1 answer
How can I integrate police job to this command?
I couldn't make only "police" jobs can toggle this command with if xPlayer.job.name == "police" then this code but it didn't worked as I planed
local xPlayers =…

Muto
- 1
- 3
0
votes
1 answer
[ script:es_extended SCRIPT ERROR: @es_extended/server/functions.lua:127: attempt to index a nil value (local 'xPlayer')
[ script:es_extended] SCRIPT ERROR: @es_extended/server/functions.lua:127: attempt to index a nil value (local 'xPlayer')
[ script:es_extended] > ref (@es_extended/server/functions.lua:127)
Please help me im triggered af Thats my Fivem Console…

LetsDamon
- 1
- 1
- 1
0
votes
2 answers
VMWARE ESXi - Untick "Override" programmatically
This is one of the Networks attached to vSwitch0.
I'd like to untick "Override" as I'd like for it to inherit from the main settings. The thing is I have a few dozens of those and I want to do it via a script. I was not able to find how to do it…

JustAGuy
- 5,151
- 11
- 41
- 55
0
votes
1 answer
how can use vim-cmd command in esxi with ansible
I have no vCenter, just esxi hosts
and I don't use any ansible inventory, I prefer add_host style
like below
- name: Set inventory from parameter
gather_facts: no
hosts: localhost
tasks:
- name: Set with add_host
add_host:
…

이상규
- 11
- 1
0
votes
1 answer
powerCLI with ESCXLI to run a command with script for windows notification
So first of all i still dont get the exact difference between normal Powershell and PowerCLI with ESXCLI. I really tried unterstanding it how it works etc. So yeah i did some research.
Now to my problem
MAIN TASK IM TRYING TO DO:
The vCenter…

HirnlosCoding
- 17
- 8
0
votes
3 answers
Powershell - If Statement Output 2 values
Iam trying to write a script to notify if a VMware VM Custom attribute has a value or if the value is null.
I need the VM name and the Output Value (either Null or Not Null). Here is what I have but doesn't return the accurate information
$vms =…

Omar
- 25
- 2
- 6
0
votes
0 answers
Attemp to call a nil value (field ‘ShowInventory’) [ESX2]
I just installed ESX 2 into my new server, im Really new at lua and i dont really know what i should do with some resources or how to start coding
I wan to work in the inventory system based on es_extended, but, it doesnt work.
I press the Inventory…

JuanP Moreno
- 33
- 6
0
votes
0 answers
FIVEM : Uncaught TypeError: Cannot read property 'x' of undefined (@esx_mcdonaldscrafting/html/js/app.js:66)
So I'm trying to develop a fivem server without knowing much about coding. I get this error in a script I have and at row 66 I have this :
return { 'x': rects.x + (rects.width/2),'y': rects.y + (rects.height/2) };
Full :
// Get the abosolute…

Eva Hatz
- 53
- 1
- 1
- 5
0
votes
2 answers
Using System.Management to Query a VMware Server
Summary: is it possible to specify a port to use when querying WMI using System.Management;
I have a python script under Linux that queries, using WBEM, classes on a number of ESXi servers to check for warnings or errors on various subsystems. …

albal
- 237
- 1
- 3
- 19
0
votes
2 answers
Jenkins pipeline - Get list of vSphere VMs
How can I get list of all the virtual machines in my vSphere cloud from inside a jenkins pipeline?
I couldn't find such an option in the vSphere Plugin for Jenkins.
Thanks

Mor Vino
- 85
- 7
0
votes
4 answers
command to get the number cpu exists on vmware
Is there any cli command to know the configuration details of VM like, number of existing cpus, number of network cards etc., in VM.

user715274
- 1
- 1
- 1
- 1
0
votes
1 answer
VMWare PowerCli - issue in connecting the remote ESX host - ResourceUnavailable: (:) [Get-VMHost], ViServerConnectionException
I am trying to connect remote ESX host using PowerCli Version 6.5 release1 to get all VMs from Windows 10 system.
while executing connect-VIServer I am not getting any output or errors. But while execute get-VMHost I get below error message. …

user3369417
- 358
- 1
- 4
- 17
0
votes
1 answer
VM files still in NFS Storage after deleting VM from VC
I have a NFS Storage which I use for deploying VMs on my ESX.
I have been creating/deleting vms for a couple of years now on this storage.
But lately I noticed the free space is pretty low. Upon investiging, I found that older vm files( Vms which I…

sonic_maniac
- 59
- 10
0
votes
1 answer
PowerCli getting Storage I/O control status
I'm trying to use powercli to return whether or not a datastore on a esxhost has got Storage I/O Control enabled.
I've been using GetView -viewtype Datastore -Filter @{"Name"="DS_NAME"} however I cant seem to dig out the piece of information I…

BrandonW
- 17
- 4
0
votes
1 answer
Get MAC address of all VMs from VMware
I've a script that I've taken from the VMware documentation to get information of VMs through a python script and the API.
esummary = vm.summary
print("Name : ", esummary.config.name)
print("IP : ", esummary.guest.ipAddress)
Which…

CEamonn
- 853
- 14
- 37