Public/Restore-OftenOnLab.ps1

1
2
3
4
5
6
7
8
9
10
function Restore-OftenOnLab {
    [CmdletBinding()]
    param (
        [ValidateNotNullOrEmpty()]
        $SnapshotName = 'Default'
    )

    Restore-Lab -ConfigurationData (Get-OftenOnLabConfiguration) -SnapshotName $SnapshotName
}