PowerCli Helper Functions for your Profile

I’ve found the more I use PowerCLI the more I find the need to write some quick and easy helper functions for my $profile.

Using PsReadline to Show Which VMWare Servers You Are Connected To

 

Sometimes I might forget which vCenter I’m connected to via PowerCLI, especially if I have multiple tabs open. This is juast a quick modification of the prompt function using PsReadline.

See Also: PsReadline and ConEmu

viservers01

Script

Create A Quick Temp VM for Testing PXE Images (WDS/MDT)

Sometimes I need a quick VM to test out changes I’ve made to the WDS/MDT images. These functions can make this process a lot quicker.

Script

Other Useful PowerCLI Helper Functions

Some other functions that make using PowerCLI a bit easier.

Script

Leave a Reply

Your email address will not be published. Required fields are marked *