mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2024-11-22 15:46:41 +00:00
Bug fix - Add a missing label in change edition section in AIO
This commit is contained in:
parent
a5dd99ac00
commit
1c9fe0815e
@ -9001,6 +9001,17 @@ exit /b
|
|||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|
||||||
|
:: Get Edition list
|
||||||
|
|
||||||
|
:ced_edilist
|
||||||
|
|
||||||
|
if %_wmic% EQU 1 set "chkedi=for /f "tokens=2 delims==" %%a in ('"wmic path %spp% where (ApplicationID='55c92734-d682-4d71-983e-d6ec3f16059f' AND LicenseDependsOn is NULL) get LicenseFamily /VALUE" %nul6%')"
|
||||||
|
if %_wmic% EQU 0 set "chkedi=for /f "tokens=2 delims==" %%a in ('%psc% "(([WMISEARCHER]'SELECT LicenseFamily FROM %spp% WHERE ApplicationID=''55c92734-d682-4d71-983e-d6ec3f16059f'' AND LicenseDependsOn is NULL').Get()).LicenseFamily ^| %% {echo ('LicenseFamily='+$_)}" %nul6%')"
|
||||||
|
%chkedi% do call set "_wtarget= !_wtarget! %%a "
|
||||||
|
exit /b
|
||||||
|
|
||||||
|
::========================================================================================================================================
|
||||||
|
|
||||||
:: Check pending reboot flags
|
:: Check pending reboot flags
|
||||||
|
|
||||||
:ced_rebootflag
|
:ced_rebootflag
|
||||||
|
Loading…
Reference in New Issue
Block a user