System Center Orchestrator runbook for removing SCCM records

Hi Everyone , Hope you are doing great! Today i am writing about an scenario  which talks about automating SCCM record removal through Orchestrator . The runbook once  created will look like the following : You can use the following Powershell script to remove the record from the database : $error.clear() powershell{ cd "D:\Program Files\Microsoft... Continue Reading →

SQL query for SCCM to pull out Hostname, Ip Address , OU location and Operating system

Hi everyone , A simple sql query that will get you the hostname , IP address , OU location and operating system details from your SCCM database . Select s.Netbios_Name0,ip.IP_Addresses0, s.Distinguished_Name0,s.operatingSystem0, s.Operating_System_Name_and0 from v_RA_System_IPAddresses AS IP inner join v_R_System AS S on ip.ResourceID=s.ResourceID where operatingSystem0 like '%Server%'; My requirement was for servers , but if... Continue Reading →

Website Powered by WordPress.com.

Up ↑