Wednesday, April 11, 2018

Powershell to get all the application name from SCCM server WMI

Get-WmiObject -ComputerName Primary_server_name -Namespace root\sms\site_Sitecode -Class sms_applicationlatest | select localizeddisplayname



Primary_server_name replace it with primary server name
Sitecode replace it with the Site code Example ABC

No comments:

Post a Comment

Patching compliance based on all current month SUG - Dynamic

-- Step 1: Store Latest Software Update Groups (SUGs) in a temp table DROP TABLE IF EXISTS #LatestSUG; CREATE TABLE #LatestSUG (Title NVARCH...