While working on a task scheduling a powershell script, it was noticed that the powershell command does not execute from the command prompt on a server. When run I would encounter the following error: ‘powersehll’ is not recognized as an internal or external command, operable program or batch file. After searching around Google / Bing I […]
Category: How-To
I had encountered the following issue when attempting to migrate a live VM to another host w/in my lab cluster. The error received was: Currently connected network interface” ‘Network adapter 1’ cannot use network ‘VM Network’, because “the destination network on the destination host is configured for different offload or security policies than the source network […]
This post describes how to perform the basic task of creating a host profile. Description of Hos Profiles: VMware Host Profiles are available through VMware vCenter Server and enable you to establish standard configurations for VMware ESXi hosts and to automate compliance to these configurations, simplifying operational management of large-scale environments and reducing errors caused by […]
Use: Listing account lockouts in Active Directory Unlocking locked out accounts # Open PowerShell or PowerShell ISE with an account with rights to unlock accounts # Import the Actice Directory Module to PowerShell # Import-Module ActiveDirectory # # Run the Search-ADAccount command to search for accounts that are locked out # Accounts locked out […]
The following simple script will iterate though your vCenter environment and remove the floppy disk from VMware guest machines that are in a powered off state. Script text: I used Windows PowerShell ISE Set-ExecutionPolicy RemoteSigned #may require running as administrator Import-Module VMware.VimAutomation.Core Connect-VIServer -Server ‘your.server.here’ $off = Get-VM | where {$_.powerstate -eq “PoweredOff”} $floppy = […]
Ran into a slight snag when attempting to restore a production backup into a VM(*VMware*) image of Checkpoint R77.30. I was using the Gaia WebUI to restore image returns a message: “The following hotfixes seem to be missing”. The message points me to a log file located under /tmp/ which indicates missing updates to the firewall […]