Tag Info

New answers tagged

0

I would personally use a powershell script for this rather than a WQL query. My powershell would pretty much do exactly the same thing as the WQL you are doing (even querying the same WMI Class) but it would work using a booleean e.g. $Firefox = Get-WmiObject -namespace root\cimv2\sms -class SMS_InstalledSoftware -filter "ARPDisplayName LIKE '%Firefox%'" ...


0

You can use the Win32_FontInfoAction class to retrieve information on installed fonts that have been registered at the same time that the associated software element was installed. I highlighted that definition b/c the class is blank on my machine, presumably b/c I have not installed any fonts. However, I'll answer this question as it might work for you: I ...


1

I've done something similar, but with Altiris rather than SCCM. (I imagine you could also run it through Group Policy.) Not using WMI, but just scripting. What I would have done: Create a network share. Give the user who'll be running the script (System Center Management service user, whatever) write access to the share. Modify the script so that the ...


0

You can install it on server 2008 R2 - I run it without any problems, along with SQL Server 2008. Although I did have problems when installing WMF 3 on Exchange 2007 and Windows Server SBS 2011, after install WMF 3.0 Exchange management console refuses to RUN, after that happen, I've read on the net that You should not use it on Exchange environment, but I ...


0

At this omputer I have no MSMQ installed, but this should it do. gwmi -class Win32_PerfRawData_MSMQ_MSMQQueue | Select Name I use this to get the number of messages in the queue of remote servers. $dataRaw = Invoke-Command -Session $sessions -ScriptBlock { gwmi -class Win32_PerfRawData_MSMQ_MSMQQueue } $data | Sort-Object -Property PSComputerName,Name ...



Top 50 recent answers are included