Kategoriarkiv: PowerCLI

Script: Copy-NFS-Setup

When installing, or adding, new ESXi hosts to your environment you may need to mount NFS shares like the other hosts you have.  Eighter they are used to store virtual machines or iso’s or other media.  Or, maybe you just … Les videre

Skrevet i Generell, PowerCLI, VMware | Merket med , , , , | Kommentarer er skrudd av for Script: Copy-NFS-Setup

Oneliner: Find VM’s vFlash Read Cache (vFRC) status

In vSphere 5.5 vFlash Read Cache was introduced.  A Nice feature if you use it for what it’s meant for – read cache.  In my experience this feature is not commonly known and used by VMware admins, but from time … Les videre

Skrevet i PowerCLI, VMware | Kommentarer er skrudd av for Oneliner: Find VM’s vFlash Read Cache (vFRC) status

Script: Totally disable VM timesync towards the host

Production systems should at all times have correct time, but sometimes time drifts, or your NTP services stops or of some reason don’t works as intended.  VMware tools have a feature you can synchronize time from the virtual machine against … Les videre

Skrevet i Generell, PowerCLI, VMware | Kommentarer er skrudd av for Script: Totally disable VM timesync towards the host

Oneliner: Change VM’s portgroup membership

From time to time you may have some changes in names of your portgroups, or you create new portgroups which you want to move some or all your virtual machines.  There are several ways to do this, but if you … Les videre

Skrevet i Generell, PowerCLI, VMware | Kommentarer er skrudd av for Oneliner: Change VM’s portgroup membership

Script: Get information about snapshots in your environment

Forgotten snapshots in a VMware (or other virtualized environment) environment is a common issue. If a snapshot lives long enough it can grow big and nasty, depending on the size of the original virtual hard disk of cause. A snapshot … Les videre

Skrevet i Generell, PowerCLI, VMware | Kommentarer er skrudd av for Script: Get information about snapshots in your environment

Script: Get CDP & LLDP information

Sometimes it’s helpful to know which ports your host(s) are connected to on the switch(es), and it could be useful to know what kind of hardware used and – if possible – get the firmware/software version running on the switches.  … Les videre

Skrevet i PowerCLI, Powershell, VMware | Kommentarer er skrudd av for Script: Get CDP & LLDP information

Oneliner: Suppress SSH warning

The SSH warning appear by default if you start the SSH service on your host(s).  If you did a design decision to keep SSH start & stop with the host, then suppressing the warning would be OK. Here’s a oneliner … Les videre

Skrevet i Generell, PowerCLI, VMware | Kommentarer er skrudd av for Oneliner: Suppress SSH warning

Oneliner: Find VM’s CBT flag status

Here’s a oneliner which list your VM’s Changed Block Tracking state: [snippet id=»28″] Output

Skrevet i Generell, PowerCLI, VMware | Kommentarer er skrudd av for Oneliner: Find VM’s CBT flag status

Changed Block Tracking issues

The issue The 12th of November VMware released a KB article about an issues with the «Virtual Disk Development Kit (VDDK) and the use of the API call QueryChangedDiskAreas().  This issues will affect all backup- and replication software using this API! … Les videre

Skrevet i Generell, PowerCLI, VMware | Kommentarer er skrudd av for Changed Block Tracking issues

Copy Virtual Machine portgroups with PowerCLI

Sometimes, when installing ESXi in an existing environment and cluster, you need to configure all the virtual machine portgroups exactly like they are on the other hosts – using the standard virtual switch. If there are a lot of portgroups, … Les videre

Skrevet i Generell, PowerCLI, VMware | Kommentarer er skrudd av for Copy Virtual Machine portgroups with PowerCLI