Created
January 25, 2016 00:12
-
-
Save PlagueHO/2c854c65a6ff6500d78c to your computer and use it in GitHub Desktop.
Example DSC Resource Integration Tests Config Step 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$VirtualDisk = @{ | |
Path = Join-Path -Path $ENV:Temp -ChildPath 'TestiSCSIVirtualDisk.vhdx' | |
Ensure = 'Present' | |
DiskType = 'Dynamic' | |
Size = 100MB | |
Description = 'Integration Test iSCSI Virtual Disk' | |
} | |
Configuration BMD_ciSCSIVirtualDisk_Config { | |
Import-DscResource -Name BMD_ciSCSIVirtualDisk_Config | |
node localhost { | |
BMD_ciSCSIVirtualDis Ikntegration_Test { | |
Path = $VirtualDisk.Path | |
Ensure = $VirtualDisk.Ensure | |
DiskType = $VirtualDisk.DiskType | |
SizeBytes = $VirtualDisk.Size | |
Description = $VirtualDisk.Description | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment