Examples/Resources/WaitForVolume/2-WaitForVolume_ISO.ps1
<#PSScriptInfo
.VERSION 1.0.0 .GUID b91d822b-ea2e-497e-8056-7774f16565db .AUTHOR Microsoft Corporation .COMPANYNAME Microsoft Corporation .COPYRIGHT .TAGS DSCConfiguration .LICENSEURI https://github.com/PowerShell/StorageDsc/blob/master/LICENSE .PROJECTURI https://github.com/PowerShell/StorageDsc .ICONURI .EXTERNALMODULEDEPENDENCIES .REQUIREDSCRIPTS .EXTERNALSCRIPTDEPENDENCIES .RELEASENOTES First version. .PRIVATEDATA 2016-Datacenter,2016-Datacenter-Server-Core #> #Requires -module StorageDsc <# .DESCRIPTION This configuration will mount an ISO file as drive S:. #> configuration WaitForVolume_ISO { Import-DscResource -ModuleName StorageDsc MountImage ISO { ImagePath = 'c:\Sources\SQL.iso' DriveLetter = 'S' } WaitForVolume WaitForISO { DriveLetter = 'S' RetryIntervalSec = 5 RetryCount = 10 } } |