KMS License State
Microsoft.KMS.ServerRole.LicenseState.Task (Task)
It displays the current license state of Key Management Service. It runs following command : cscript \%SystemRoot\%\System32\slmgr.vbs /dli
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.KMS.ServerRole.LicenseState.Task" Accessibility="Public" Enabled="true" Target="Microsoft.KMS.ServerRole" Timeout="300" Remotable="true">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter">
<ApplicationName/>
<WorkingDirectory/>
<CommandLine>%SystemRoot%\System32\cscript %SystemRoot%\System32\slmgr.vbs /dli</CommandLine>
<TimeoutSeconds>180</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>