This tool was built to provide a quick way to tag and untag multiple VMs without having to manually navigate through the vCenter and individually tag or untag them.
-
XaML files
UI Definitions for the main window, and Common Control Templates from the PoSH GUI Template
-
PowerShell Script
Program Code, which includes all the standard functions from the PoSH GUI Template
-
Visual Studio Project
Setup so that you can open it and go directly to the WPF Designer view to edit the Window Contents and layout. This project is for Visual Studio 2022, it's not guaranteed to work with older versions. If you have an older version, though, you can follow this procedure to create project you can use:
- Create a new WPF project named PoSH_GUI_Template
- Use the Solution Explorer to Add Existing Item... to your project and add the ControlTemplates.XaML
- Replace App.XaML with the one from this project.
- Replace MainWindow.XaML with the one from this project.
- Windows PowerShell
- VMWare PowerCLI for PowerShell.