HyperVDsc

4.0.0-preview0006

This module contains DSC resources for deployment and configuration of Microsoft Hyper-V.

Minimum PowerShell version

4.0

This is a prerelease version of HyperVDsc.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name HyperVDsc -AllowPrerelease

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name HyperVDsc -Prerelease

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Copyright the DSC Community contributors. All rights reserved.

Package Details

Author(s)

  • DSC Community

Tags

DesiredStateConfiguration DSC DSCResourceKit DSCResource

DSCResources

Vhd VhdFile VMDvdDrive VMHardDiskDrive VMHost VMHyperV VMNetworkAdapter VMProcessor VMScsiController VMSwitch

Dependencies

This module has no dependencies.

Release Notes

## [4.0.0-preview0006] - 2026-04-16

- Vhd
 - `Test-TargetResource` no longer throws when `Path` or `ParentPath` does
   not exist. Returns the correct boolean based on `Ensure` instead of
   aborting the configuration. This aligns with the
   [guidance from Microsoft](https://learn.microsoft.com/powershell/dsc/resources/authoringresourcemof?view=dsc-1.1)
   that `Test-TargetResource` should return `$false` when the resource is
   not in the desired state, not throw an exception - Fixes
   [issue #225](https://github.com/dsccommunity/HyperVDsc/issues/225).
- HyperVDsc
 - BREAKING CHANGE
   - Renamed _xHyper-V_ to _HyperVDsc - fixes [Issue #69](https://github.com/dsccommunity/HyperVDsc/issues/213).
   - Changed all MSFT_xResourceName to DSC_ResourceName.
   - Updated DSCResources, Examples, Modules and Tests for new naming.
   - Updated README.md from _xHyper-V_ to _HyperVDsc
 - Renamed default branch to `main` - Fixes [Issue #198](https://github.com/dsccommunity/HyperVDsc/issues/198).
 - Moved documentation to the HyperVDsc GitHub Wiki.
 - Updated all examples to correct folders and naming so they show up
   in the GitHub Wiki documentation and conceptual help.
 - VMNetworkAdapter
   - BREAKING CHANGE: Rename embedded instance class #203
   - Fix multiple DNS IP adresses does not work #190
   - NetworkSetting parameter is now optional and no default actions are taken if not specified
 - Switch to use VM image `windows-latest` to build phase.
 - Use latest DscCommunity scripts and files
 - Changed `HyperVDsc.Common` to a buildable module.

FileList

Version History

Version Downloads Last updated
4.0.0-previe... (current version) 193 4/16/2026
4.0.0-previe... 16,194 7/17/2022
4.0.0-previe... 20 6/12/2022
4.0.0-previe... 13 6/12/2022
4.0.0-previe... 19 6/8/2022
4.0.0-previe... 14 6/8/2022
Show more