Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/camalot/psievm
Get IE Virtual Box VMs from powershell
https://github.com/camalot/psievm
Last synced: 20 days ago
JSON representation
Get IE Virtual Box VMs from powershell
- Host: GitHub
- URL: https://github.com/camalot/psievm
- Owner: camalot
- License: other
- Created: 2015-10-03T17:38:13.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-29T05:44:12.000Z (almost 9 years ago)
- Last Synced: 2024-05-02T01:22:09.419Z (8 months ago)
- Language: PowerShell
- Size: 775 KB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ![PSIEVM][14] psievm [![Build status][15]][16] [![volkswagen status][17]][18]
*psievm* is a powershell module for automating an IE Virtual Machine quickly and without hassle to help make cross browser testing easier. This will do all the steps needed to get the VM running.
- Install the VM Host (if needed, and supported)
- Download the VM image
- Extract the image
- Import the image to VirtualBox
- Take the initial snapshot
- Start the VM Host with the VM#### Installation
**From PowerShell console:**
PS > iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/camalot/psievm/master/psievm/psievm.package/tools/chocolateyInstall.ps1"));
**From command console:**
C:\> @powershell -NoProfile -ExecutionPolicy -ByPass -Command "iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/camalot/psievm/master/psievm/psievm.package/tools/chocolateyInstall.ps1'))"
**From [Powershell Gallery][23]**:
> Installing modules from the [Powershell Gallery][19] requires the latest version of the PowerShellGet module, which is available in [Windows 10][21], in [Windows Management Framework (WMF) 5.0][20] or from the [PackageManagement PowerShell Modules Preview][22].
Inspect:
PS > Save-Module -Name psievm -Path
Install:PS > Install-Module -Name psievm
**Chocolatey:**
> choco install psievm
#### Usage
PS > Import-Module psievm
PS > Get-IEVM -OS XP -IEVersion 6#### Parameters
| Name | Required | Type | Default | Description |
|--------------------- |:--------: |:--------: |:----------: |-------------- |
| OS | YES | String | [Empty] | The Windows OS Version |
| IEVersion | YES | String | [Empty] | The IE Version |
| Shares | NO | String[] | [Empty] | |
| AlternateVMLocation | NO | String | [Empty] | The alternate location to use to find the VM images |
| VMHost | NO | String | VirtualBox | The VM Host |
| IgnoreInvalidMD5 | NO | Switch | $False | If the script should ignore failed MD5 hash validation |
| VMRootPath | NO | String | $PWD | The location to put the VM images |#### Other Functions
PS > Update-PSIEVM
This will update your installed version of PSIEVM by getting the latest release that is available on GitHub. Once there is a "non-pre-release" version
There will be an option to get the latest pre-release.#### OS / IEVersion
This is the version of the OS that you want hosted and the version of Internet Explorer / Edge you want with it. Here are the supported values:| | IE 6 | IE 7 | IE 8 | IE 9 | IE 10 | IE 11 | MS Edge | Requires 64-bit Emulation |
|-------- |:----: |:----: |:----: |:----: |:-----: |:-----: |:-------: |:------------------------: |
| XP | X | | X | | | | | |
| Vista | | X | | | | | | |
| Win7 | | | X | X | X | X | | |
| Win8 | | | | | X | | | |
| Win8.1 | | | | | | X | | X |
| Win10 | | | | | | | X | X |#### Supported VM Hosts
- [VirtualBox][4] _[default]_
- If not installed, [chocolatey][1] will be used to install [VirtualBox][2], and the [Guest Additions][3].#### [Microsoft Internet Explorer Announcement][12]
> **End of support is coming for older versions of Internet Explorer.**
>
> Beginning January 12, 2016, only the current version of Internet Explorer available for a supported operating system will receive technical support and security updates. Microsoft recommends that customers running older versions of Internet Explorer upgrade to the most recent version, which is Internet Explorer 11 on Windows 7, Windows 8.1, and Windows 10.
>
> For a complete list of browser/OS combinations supported after January 12, 2016, please see the [Microsoft Support Lifecycle FAQ for Internet Explorer][13].[1]: https://chocolatey.org
[2]: https://chocolatey.org/packages/virtualbox
[3]: https://chocolatey.org/packages/VBoxGuestAdditions.install
[4]: https://www.virtualbox.org/
[5]: https://chocolatey.org/packages/vagrant
[6]: https://www.vagrantup.com/
[7]: https://www.vmware.com/products/player
[8]: https://chocolatey.org/packages/vmwareplayer
[9]: https://www.powershellgallery.com/
[10]: http://go.microsoft.com/fwlink/?LinkID=624830&clcid=0x409
[11]: http://go.microsoft.com/fwlink/?LinkId=398175
[12]: https://technet.microsoft.com/en-us/ie/mt163707?utm_content=buffer3b3ad&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer
[13]: https://support.microsoft.com/en-us/lifecycle#gp/Microsoft-Internet-Explorer
[14]: https://raw.githubusercontent.com/camalot/psievm/master/psievm/psievm.package/assets/psievm.png
[15]: https://ci.appveyor.com/api/projects/status/kxd0a7tvffjiqgm7?svg=true
[16]: https://ci.appveyor.com/project/camalot/psievm
[17]: https://auchenberg.github.io/volkswagen/volkswargen_ci.svg?v=1
[18]: https://github.com/auchenberg/volkswagen
[19]: https://www.powershellgallery.com/packages/psievm/
[20]: http://go.microsoft.com/fwlink/?LinkId=398175
[21]: http://go.microsoft.com/fwlink/?LinkID=624830&clcid=0x409
[22]: https://www.microsoft.com/en-us/download/details.aspx?id=49186
[23]: https://www.powershellgallery.com/pages/GettingStarted
[24]: https://codecov.io/github/camalot/psievm/coverage.svg?branch=master
[25]: https://codecov.io/github/camalot/psievm?branch=master