mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-16 15:27:22 +00:00
Update dg-readiness-tool.md
This commit is contained in:
parent
2a3e536a5c
commit
10a7156ee9
@ -732,11 +732,11 @@ function IsDomainController
|
||||
|
||||
function CheckOSSKU
|
||||
{
|
||||
$osname = $((gwmi win32_operatingsystem).Name).ToLower()
|
||||
$osname = $((Get-ComputerInfo).WindowsProductName).ToLower()
|
||||
$_SKUSupported = 0
|
||||
Log "OSNAME:$osname"
|
||||
$SKUarray = @("Enterprise", "Education", "IoT", "Windows Server")
|
||||
$HLKAllowed = @("microsoft windows 10 pro")
|
||||
$HLKAllowed = @("windows 10 pro")
|
||||
foreach ($SKUent in $SKUarray)
|
||||
{
|
||||
if($osname.ToString().Contains($SKUent.ToLower()))
|
||||
|
Loading…
x
Reference in New Issue
Block a user