$oCollection = $oWMIService.ExecQuery("SELECT Description, LicenseStatus, GracePeriodRemaining FROM SoftwareLicensingProduct WHERE PartialProductKey null") $oWMIService = ObjGet("winmgmts:\\.\root\cimv2") InstallOfficeProductKey($officekey) installs a product key and also activates it InstallProductKey($OSkey) installs a product key and also activates it Expand collapse popup If IsActivated() = False Then
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |