Here are some quick steps to installing PowerCLI onto your computer to get you started. I performed the steps listed below on a Windows 10 Computer. Overview VMware PowerCLI is a command-line and scripting tool built on Windows PowerShell, and provides more than 600 cmdlets for managing and automating vSphere, vCloud, vRealize Operations Manager, […]
Tag: PowerShell ISE
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 = […]
I spent sometime today renaming SharePoint 2013 Servers for a project I was pulled in on. It involved using PowerShell cmdlets and other administrative tasks. The project required me to “Clone” SharePoint farm servers to make template environments for demonstration and development task. I originally followed steps provided here: Renaming SharePoint then later streamlined the process so its […]
Using Windows task scheduler you can schedule power off and on events for guest systems running in VMware vCenter or a standalone ESXi host. My steps: Create a basic task – give it a name and description (optional) Choose when you want this task to stat Select the start date and time Choose “Start a […]
You want to get a list of users who exist as members of a AD (Active Directory) security group. Here are some quick steps on accomplishing this task. Lets begin: Open PowerShell or PowerShell ISE Type Import-Module ActiveDirectory Followed by Get-ADGroupMember -identity “Group Name” | select name | Out-GridView Import-Module ActiveDirectory Get-ADGroupMember -identity “Name of Group” | select name […]