Tag Archives: powershell

Powershell report on NSX IP Pools

While troubleshooting and NSX install I began wondering about the NSX IP pools and what was being used in them.  I still need to look up the allocated IPs and report on the objects using them (name, type) but for … Continue reading

Posted in Network, NSX, PowerShell, Scripting, Virtualization, VMware | Tagged , | Leave a comment

vCloud Director – retain IP/Mac

I found myself in need of changing a network setting on a bunch of vCD vApps.  The setting in question (“Retain IP/MAC Resources” in the GUI, “RetainNetInfoAcrossDeployments” from the API) causes the vApp to retain it’s assigned IP (apparently by retaining … Continue reading

Posted in Cloud, Computing, PowerShell, Scripting, Virtualization, VMware | Tagged , , , | Leave a comment

Escaping quotes (powershell-style)

I need to search some xml files for a certain setting – but the files were remote to me but were not shared.  So I dove into invoke-command (remote powershell was enabled) but quickly figured out my desired string was … Continue reading

Posted in Computing, PowerShell, Scripting, VMware | Tagged | Leave a comment

PSExec command-line parameters

PSEXEC is  nifty free utility from Microsoft/Sysinternals that is part of a whole suite of free tools (“Sysinternals Suite“).  While there are a ton of great tools there, I wanted to point out an issue for psexec that I just figured … Continue reading

Posted in Computing, Microsoft, PowerShell, Scripting | Tagged | 1 Comment

P4C: pCLI for View Parameter seeks cmdlet for long-term relationship

There is a list of “View PowerCLI Cmdlet Parameters” in the View documentation but while they are very useful when you have a cmdlet you are trying to run, the descriptions listed in the doc do not include which cmdlets … Continue reading

Posted in PowerShell, Scripting, Virtualization, VMware | Tagged , , , , | Leave a comment

PowerCLI fling preview

In the 8am PowerCLI session at Vmworld we were treated to PowerCLI on a Mac via the Web Client. The Windows domination of VMware management is almost over! Thanks Alan for the preview!

Posted in Cloud, PowerShell, Virtualization, VMware | Tagged , , | Leave a comment

View and PowerCLI – Part 2

Part 1 So I wanted to do some checks to a VM in my environment, but I realized there were a few issues – was the vm on?  Was the guest responding? Could I make WMI calls? Turned out RPC … Continue reading

Posted in Computing, PowerShell, Virtualization, VMware | Tagged , | Leave a comment

PowerCLI and View

See also: Part 2 in the series So I’ve had need to code some checks for VMware View lately – which means among other things I need to dust off my seriously rusty scripting skills and learn what resources are … Continue reading

Posted in Computing, PowerShell, Scripting, Virtualization, VMware | Tagged , , | Leave a comment

vSphere5: My favorite feature

Get-AlarmDefinition | New-AlarmAction -Email -To ‘jandrews@inflexionllc.com’ -CC @(‘test1@inflexionllc.com’, ‘test2@inflexionllc.com.com’) -Body ‘Test body’ -Subject ‘Test subject’ Drop that line into a PowerCLI windows and poof all alarms will be updated to send an email when they go off (change warning (yellow) … Continue reading

Posted in Computing, PowerShell, Scripting, Virtualization, VMware | Tagged , , , , | 2 Comments

Management Automation

PowerShell has been embraced by a variety of companies looking to manage their products from a command line. While VMware started out with a Perl-based script set, they quickly expanded to a PowerShell set of commandlets. The official VMware Automation … Continue reading

Posted in Computing, NetApp, PowerShell, Scripting, Storage, Virtualization, VMware | Tagged , , , | Leave a comment