PowerShell
Using PowerShell to Install SNMP and configure Community, Location and Contact on Windows 2008
One of the steps needed to onboard a system into our monitoring tools is to configure SNMP. If the customer template does not have SNMP pre-configured, or is not using GPO to do it; it quickly becomes a painfully slow speed-bump. Last night I threw together the PowerShell script below to: Install SNMP services Configure SNMP […]
Tags: PowerShell, SNMP
Posted in Powershell, SNMP, Windows 2008 | No Comments »
Finding orphaned VMDK’s using PowerCLI
Here is a PowerCLI script I use to find all orphaned VMDK’s in my vCenter environment. $arrayVC = “virtualcenter2” Foreach ($strVC in $arrayVC) { Connect-VIServer $strVC $arrUsedDisks = Get-VM | Get-HardDisk | %{$_.filename} $arrUsedDisks += get-template | Get-HardDisk | %{$_.filename} $arrDS = Get-Datastore Foreach ($strDatastore in $arrDS) { $strDatastoreName = $strDatastore.name $ds = Get-Datastore -Name […]
Tags: PowerCLI, PowerShell, VMDK
Posted in PowerCLI, Powershell, Virtualization, vmware | No Comments »
Automating the Cisco UCS build using Cisco PowerTool
After installing Cisco UCS and performing the initial setup of the UCS Fabric Interconnects; there is a lot of work that needs to be completed prior to configuring the blade Service Profiles. This can be done a multitude of ways, manually through UCSM, scripted through SSH or now through PowerShell using Cisco PowerTool. This allows […]
Tags: additional user, cisco, Cisco UCS, cloud, initial setup, multitude, PowerCLI, PowerShell, powertool, variables
Posted in Cisco, Cisco UCS, Cloud, Powershell, PowerTool, Virtualization | 3 Comments »
Assigning VSAN’s to Cisco UCS VSAN Uplinks using Cisco PowerTool
When building out your UCS deployment, you create a series of Fibre Channel (FC) uplinks. Then you have to go back and add those FC uplinks to the VSAN’s that you created. This can be tedious if you have a lot of FC uplinks as you would need to modify each one. With Cisco’s Powertool, […]
Tags: cisco, Cisco UCS, cloud, deployment, help files, linux, PowerShell, powertool
Posted in Cisco, Cisco UCS, Cloud, Powershell, PowerTool, Virtualization | No Comments »