Skip to content

Commit e48d4a3

Browse files
committed
Removed check for Hyper-V
1 parent 5795aba commit e48d4a3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

functions/clone/New-PSDCClone.ps1

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,6 @@
161161

162162
# Setup the computer object
163163
$computer = [PsfComputer]$server.Name
164-
165-
# Check if Hyper-V enabled for the SQL instance
166-
if (-not (Test-PSDCHyperVEnabled -HostName $computer.ComputerName -Credential $Credential)) {
167-
Stop-PSFFunction -Message "Hyper-V is not enabled on host." -ErrorRecord $_ -Target $computer -Continue
168-
return
169-
}
170164
}
171165
catch {
172166
Stop-PSFFunction -Message "Could not connect to Sql Server instance $instance" -ErrorRecord $_ -Target $instance

0 commit comments

Comments
 (0)