You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write-PSFMessage-Message "Hyper-V is not enabled, the module can only be used remotely.`nTo use the module locally execute the following command: `"Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All`""-Level Warning -FunctionName 'Test-PSDCConfiguration'
29
-
}
30
-
31
-
Stop-PSFFunction-Message "Module can only work on Windows 10 Pro, Enterprise or Education"-Target $OSDetails-FunctionName 'Pre Import'
Write-PSFMessage-Message "Hyper-V is not enabled, the module can only be used remotely.`nTo use the module execute the following command:`n`"Install-WindowsFeature -Name Hyper-V`"`n`"Install-WindowsFeature -Name Hyper-V-PowerShell`""-Level Warning -FunctionName 'Pre Import'
37
-
}
38
-
39
-
Stop-PSFFunction-Message "Module can only work on Windows Server 2012 R2 and up, Enterprise or Education"-Target $OSDetails-FunctionName 'Pre Import'
23
+
Stop-PSFFunction-Message "Module does not work on Windows 7"-Target $OSDetails-FunctionName 'Pre Import'
40
24
}
41
25
else {
42
26
Stop-PSFFunction-Message "Unsupported version of Windows."-Target $OSDetails-FunctionName 'Pre Import'
0 commit comments