You can build it through the wizard but hey if this works as a copy paste into your environment, awesome, stop wasting time working on this. Set colItems = objOS.ExecQuery("SELECT OSArchitecture FROM Win32_OperatingSystem")ĮlseIf(InStr(objItem.OSArchitecture,"64") > 0) ThenĪlso, dunno if this helps but this is the SQL for the License Checker that I run as a report. ![]() Set objOS = GetObject("winmgmts:\\"
0 Comments
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |