vmxtoolkit is the Powershell extension to VMware Workstation
PowerShell
Clone or download
Karsten Bott Karsten Bott
Latest commit d91bfc6 Mar 4, 2018
Permalink
Failed to load latest commit information.
vmxtoolkit enhancements on init process Mar 4, 2018
.gitattributes clrf Jul 3, 2015
.gitignore psp Jul 2, 2017
README.md Update README.md Jul 3, 2017
appveyor.yml structure for upcoming 5.0 Jul 3, 2017
license.txt added Dec 4, 2014
profile.ps1.example new file: profile.ps1.example Jul 26, 2014
vmxtoolkit.pssproj add Jul 3, 2017
vmxtoolkit.pssproj.user test Jul 3, 2017
vmxtoolkit.sln sln Jul 2, 2017

README.md

Build status

vmxtoolkit

==========

vmxtoolkit is the Powershell extension to VMware Workstation and Fusion vmxtoolkit is community-driven vmxtoolkit is the Base for labbuildr, the automated lab building environment for vmware workstation on windows you get support for labbuildr on github https://github.com/bottkars/labbuildr/wiki

logo

simply follow @sddc_guy on twitter for updates

Installation

=========== for powershell 5 of higher, you can use

install-module vmxtoolkit

to install the module using the nuget provider.

to install on earlier versions, simply extract the vmxttoolkit into a folder where your VM´s reside. Per Default, vmxtoolkit searches from that path Otherwise, specifythe path to your vm when doing a get-vmx

Installation on OSX

to run vmxtoolkit on OSX, you need to have PowerShell for OSX installed
see PowerShell for OSX for instructions it is also recommended to install .NET Core for OSX from for details on installation of .NET Core LIBS see .NET Core on MACOS
OSX port is currently only available via Git clone, no auto installer
use Bash git clone https://github.com/bottkars/vmxtoolkit

current exposed commands
===========  
```Powershell
 PS E:\GitHub> Get-Command -Module vmxtoolkit

CommandType     Name                                               ModuleName
-----------     ----                                               ----------
Function        Add-VMXScsiDisk                                    vmxtoolkit
Function        Connect-VMXNetworkAdapter                          vmxtoolkit
Function        convert-VMXdos2unix                                vmxtoolkit
Function        Copy-VMXDirHost2Guest                              vmxtoolkit
Function        copy-VMXfile2guest                                 vmxtoolkit
Function        Disconnect-VMXNetworkAdapter                       vmxtoolkit
Function        Get-VMwareVersion                                  vmxtoolkit
Function        Get-VMX                                            vmxtoolkit
Function        Get-VMXActivationPreference                        vmxtoolkit
Function        Get-VMXAnnotation                                  vmxtoolkit
Function        Get-VMXConfig                                      vmxtoolkit
Function        Get-VMXConfigVersion                               vmxtoolkit
Function        Get-VMXDisplayName                                 vmxtoolkit
Function        Get-VMXGuestOS                                     vmxtoolkit
Function        Get-VMXHWVersion                                   vmxtoolkit
Function        Get-VMXIdeDisk                                     vmxtoolkit
Function        Get-VMXInfo                                        vmxtoolkit
Function        Get-VMXIPAddress                                   vmxtoolkit
Function        Get-VMXmemory                                      vmxtoolkit
Function        Get-VMXNetwork                                     vmxtoolkit
Function        Get-VMXNetworkAdapter                              vmxtoolkit
Function        Get-VMXNetworkAddress                              vmxtoolkit
Function        Get-VMXNetworkConnection                           vmxtoolkit
Function        Get-VMXProcessesInGuest                            vmxtoolkit
Function        Get-VMXProcessor                                   vmxtoolkit
Function        Get-VMXRun                                         vmxtoolkit
Function        Get-VMXscenario                                    vmxtoolkit
Function        Get-VMXScsiController                              vmxtoolkit
Function        Get-VMXScsiDisk                                    vmxtoolkit
Function        Get-VMXSnapshot                                    vmxtoolkit
Function        Get-VMXSnapshotconfig                              vmxtoolkit
Function        Get-VMXTemplate                                    vmxtoolkit
Function        Get-VMXToolsState                                  vmxtoolkit
Function        Get-VMXUUID                                        vmxtoolkit
Function        Get-yesnoabort                                     vmxtoolkit
Function        Invoke-VMXBash                                     vmxtoolkit
Function        Invoke-VMXexpect                                   vmxtoolkit
Function        Invoke-VMXPowerShell                               vmxtoolkit
Function        New-VMXClone                                       vmxtoolkit
Function        New-VMXGuestPath                                   vmxtoolkit
Function        New-VMXLinkedClone                                 vmxtoolkit
Function        New-VMXScsiDisk                                    vmxtoolkit
Function        New-VMXSnapshot                                    vmxtoolkit
Function        Optimize-VMXDisk                                   vmxtoolkit
Function        remove-vmx                                         vmxtoolkit
Function        Remove-VMXserial                                   vmxtoolkit
Function        Remove-VMXSnapshot                                 vmxtoolkit
Function        Repair-VMXDisk                                     vmxtoolkit
Function        Resize-VMXDiskfile                                 vmxtoolkit
Function        Restore-VMXSnapshot                                vmxtoolkit
Function        Search-VMXPattern                                  vmxtoolkit
Function        Set-VMXActivationPreference                        vmxtoolkit
Function        Set-VMXAnnotation                                  vmxtoolkit
Function        Set-VMXDisconnectIDE                               vmxtoolkit
Function        Set-VMXDisplayName                                 vmxtoolkit
Function        Set-VMXLinuxDNS                                    vmxtoolkit
Function        Set-VMXLinuxNetwork                                vmxtoolkit
Function        Set-VMXMainMemory                                  vmxtoolkit
Function        Set-VMXmemory                                      vmxtoolkit
Function        Set-VMXNetworkAdapter                              vmxtoolkit
Function        Set-VMXprocessor                                   vmxtoolkit
Function        Set-VMXscenario                                    vmxtoolkit
Function        Set-VMXserialPipe                                  vmxtoolkit
Function        Set-VMXSharedFolder                                vmxtoolkit
Function        Set-VMXSharedFolderState                           vmxtoolkit
Function        Set-VMXSize                                        vmxtoolkit
Function        Set-VMXTemplate                                    vmxtoolkit
Function        Set-VMXToolsReminder                               vmxtoolkit
Function        Set-VMXVnet                                        vmxtoolkit
Function        Start-VMX                                          vmxtoolkit
Function        Stop-VMX                                           vmxtoolkit
Function        Suspend-VMX                                        vmxtoolkit
``` 
Help
==========
while commands are self explaining, there is an online help available get-help [command] -online
Contributing
==========
Please contribute in any way to the project. Specifically, normalizing differnet image sizes, locations, and intance types would be easy adds to enhance the usefulness of the project.

Licensing
==========
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Support
==========
Please file bugs and issues at the Github issues page. The code and documentation are released with no warranties or SLAs and are intended to be supported through a community driven process.