https://github.com/tabs-not-spaces/Hyper-ConvertImage
Microsoft hasn't published any approved PRs on their Convert-WindowsImage module in years. This is a more recent version.
https://github.com/tabs-not-spaces/Hyper-ConvertImage
Last synced: 4 months ago
JSON representation
Microsoft hasn't published any approved PRs on their Convert-WindowsImage module in years. This is a more recent version.
- Host: GitHub
- URL: https://github.com/tabs-not-spaces/Hyper-ConvertImage
- Owner: tabs-not-spaces
- License: gpl-3.0
- Created: 2020-05-17T06:37:48.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-30T00:54:54.000Z (almost 5 years ago)
- Last Synced: 2024-11-26T10:32:28.182Z (5 months ago)
- Language: PowerShell
- Size: 95.7 KB
- Stars: 34
- Watchers: 3
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - tabs-not-spaces/Hyper-ConvertImage - Microsoft hasn't published any approved PRs on their Convert-WindowsImage module in years. This is a more recent version. (PowerShell)
README
# Hyper-ConvertImage

Microsoft hasn't published any approved PRs on their [Convert-WindowsImage](https://github.com/MicrosoftDocs/Virtualization-Documentation/tree/master/hyperv-tools/Convert-WindowsImage) module in years. This is a more recent version.
## How to use
### Install the module
``` PowerShell
Install-Module Hyper-ConvertImage -Scope CurrentUser
```### Standard Windows Image Conversion
``` PowerShell
$params = @{
SourcePath = "C:\Path\To\Source.iso"
Edition = 1
VhdType = "Dynamic"
VhdFormat = "VHDX"
VhdPath = "C:\Path\To\output.vhdx"
DiskLayout = "UEFI"
SizeBytes = 127gb
}
Convert-WindowsImage @params
```### Windows Image Conversion w/ Unattend File
``` PowerShell
$params = @{
SourcePath = "C:\Path\To\Source.iso"
Edition = 1
VhdType = "Dynamic"
VhdFormat = "VHDX"
VhdPath = "C:\Path\To\output.vhdx"
DiskLayout = "UEFI"
SizeBytes = 127gb
UnattendPath = "C:\Path\To\Unattend.xml"
}
Convert-WindowsImage @params
```