Author Archives: Ortaç Demirel

SCCM Sorgu Bazlı Koleksiyon Listesi

System Center configuration Manager ya da yeni ismi ile Microsoft Endpoint Configuration Manager yönetim yazılımında sorgu bazlı koleksiyon oluşturmak isterseniz aşağıdaki örneklerden faydalanabilirsiniz.

Windows Server 2025

select 
SMS_R_SYSTEM.ResourceID,
SMS_R_SYSTEM.ResourceType,
SMS_R_SYSTEM.Name,
SMS_R_SYSTEM.SMSUniqueIdentifier,
SMS_R_SYSTEM.ResourceDomainORWorkgroup,
SMS_R_SYSTEM.Client 
from 
SMS_R_System 
inner join SMS_G_System_OPERATING_SYSTEM 
on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId 
where 
SMS_G_System_OPERATING_SYSTEM.Caption like "Microsoft Windows Server 2025%"
 

 

Windows 11 24H2

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,
SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,
SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from 
SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on 
SMS_G_System_OPERATING_SYSTEM.ResourceId = SMS_R_System.ResourceId where 
SMS_G_System_OPERATING_SYSTEM.BuildNumber = "26100" 

 

Bilgisayar İsimlerine Göre

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,
SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,
SMS_R_SYSTEM.Client from MS_R_System where SMS_R_System.Name like "%ORT%" 

 

Windows Cluster Hizmeti Yüklü Sunucular

select * from SMS_R_System inner join SMS_G_System_SERVICE on
 SMS_G_System_SERVICE.ResourceId = SMS_R_System.ResourceId where
 SMS_G_System_SERVICE.Name = "ClusSvc"

 

Hyper-V Rolü Yüklü Bilgisayarlar

select * from SMS_R_System inner join SMS_G_System_SERVICE on
 SMS_G_System_SERVICE.ResourceId = SMS_R_System.ResourceId where
 SMS_G_System_SERVICE.Name = "vmms"

 

DHCP Sunucuları

select * from SMS_R_System inner join SMS_G_System_SERVICE on
 SMS_G_System_SERVICE.ResourceId = SMS_R_System.ResourceId where
 SMS_G_System_SERVICE.Name = "DHCPServer"

 

IIS Rolü Yüklü Bilgisayarlar

select *  from  SMS_R_System inner join SMS_G_System_SERVICE on 
SMS_G_System_SERVICE.ResourceId = SMS_R_System.ResourceId where 
SMS_G_System_SERVICE.Name = "W3SVC"

 

Windows 11 23H2

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,
SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,
SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from 
SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on 
SMS_G_System_OPERATING_SYSTEM.ResourceId = SMS_R_System.ResourceId
where SMS_G_System_OPERATING_SYSTEM.BuildNumber = "22631"

 

Windows 11 22H2

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,
SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,
SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from 
SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on 
SMS_G_System_OPERATING_SYSTEM.ResourceId = SMS_R_System.ResourceId
where SMS_G_System_OPERATING_SYSTEM.BuildNumber = "22621"

 

Windows 11 21H2

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,
SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,
SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from 
SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on 
SMS_G_System_OPERATING_SYSTEM.ResourceId = SMS_R_System.ResourceId 
where SMS_G_System_OPERATING_SYSTEM.BuildNumber = "22000"

 

Windows 11 Enterprise

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,
SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup, 
SMS_R_SYSTEM.Client from SMS_R_System inner join 
SMS_G_System_OPERATING_SYSTEM on 
SMS_G_System_OPERATING_SYSTEM.ResourceId = SMS_R_System.ResourceId where 
SMS_G_System_OPERATING_SYSTEM.Caption = "Microsoft Windows 11 Enterprise"

 

Windows 11 Pro

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,
SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,
SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from 
SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM 
on SMS_G_System_OPERATING_SYSTEM.ResourceId = SMS_R_System.ResourceId 
where SMS_G_System_OPERATING_SYSTEM.Caption = "Microsoft Windows 11 Pro"

 

Windows 10 22H2

select SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.Name,
SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceDomainORWorkgroup, 
SMS_R_System.Client from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join 
SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_SYSTEM.SystemRole = "Workstation" and SMS_G_System_OPERATING_SYSTEM.Version = "10.0.19045"

 

Tüm Notebook Bilgisayarlar

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,
SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,
SMS_R_SYSTEM.Client from SMS_R_System inner join  
SMS_G_System_SYSTEM_ENCLOSURE on SMS_G_System_SYSTEM_ENCLOSURE.ResourceID = 
SMS_R_System.ResourceId where
 SMS_G_System_SYSTEM_ENCLOSURE.ChassisTypes in ( "8", "9", "10","11", "12", "14","18","21")

 

Tüm Masaüstü Bilgisayarlar

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,
SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,
SMS_R_SYSTEM.Client from SMS_R_System inner join 
SMS_G_System_SYSTEM_ENCLOSURE on SMS_G_System_SYSTEM_ENCLOSURE.ResourceID = SMS_R_System.ResourceId where
SMS_G_System_SYSTEM_ENCLOSURE.ChassisTypes in ( "3", "4", "5","6", "7", "15","16")

 

Windows 11

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name, SMS_R_SYSTEM.SMSUniqueIdentifier,
SMS_R_SYSTEM.ResourceDomainORWorkgroup,
SMS_R_SYSTEM.Client from SMS_R_System inner join 
SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceId = SMS_R_System.ResourceId where 
SMS_G_System_OPERATING_SYSTEM.Caption like "Microsoft Windows 11%"

 

Windows 10 2004 21H2 Sürümü

select SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.Name,
SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceDomainORWorkgroup, 
SMS_R_System.Client from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on 
SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join 
SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceId = SMS_R_System.ResourceId where 
SMS_G_System_SYSTEM.SystemRole = "Workstation" and SMS_G_System_OPERATING_SYSTEM.Version = "10.0.19044"

 

Windows 10 2004 21H1 Sürümü

select SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.Name,
SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceDomainORWorkgroup, 
SMS_R_System.Client from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on 
SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join 
SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceId = SMS_R_System.ResourceId where 
SMS_G_System_SYSTEM.SystemRole = "Workstation" and SMS_G_System_OPERATING_SYSTEM.Version = "10.0.19043"

 

Windows 10 2004 20H2 Sürümü

select SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.Name,
SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceDomainORWorkgroup, 
SMS_R_System.Client from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on 
SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join 
SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceId = SMS_R_System.ResourceId where 
SMS_G_System_SYSTEM.SystemRole = "Workstation" and SMS_G_System_OPERATING_SYSTEM.Version = "10.0.19042"

CMTRACE in Yerine Geçen OneTrace Kayıt Görüntüleme Aracı

SCCM yönetim aracı ile birlikte gelen en popüler araçlardan biri belki de CMTRACE kayıt görüntüleme aracı idi.

Endpoint Configuration Manager ile MSIX Paket Dağıtımı

SCCM yönetim yazılımına 1806 sürümü ile gelen MSIX özelliği , APPX ve APPV paket yapıları ile oldukça benzerlik taşımaktadır.

MSIX, tüm Windows uygulamalarına (exe, msi, app-v vb) modern bir paketleme özelliği sağlayan uygulama dosyalarınızı ve bir takım yapılandırma XML dosyalarınızı içeren zip sıkıştırma paketleridir.

Paketleme işlemi sırasında da tüm bu uygulamaların işlevselliğini korur. Yani siz bir Office uygulamasını MSIX ile dağıtmak istiyorsanız nasıl normal kurulumda paketi kişiselleştiriyorsanız MSIX ile de bunu yapabilirsiniz.

MSIX ler ile bir exe ya da msi programınızı ya da uygulamanızı Windows store uygulamaları gibi işletim sistemlerine kurabilirsiniz. Bu yüzden uygulamalar da APP-V lerde olduğu gibi uygulamalar program ekle kaldır bölümünde de gözükmemektedir.

MSIX yapısının bir takım limitleri de vardır. Windows 10, version 1709 (build 16299), Windows 10, version 1803 (build 17134) sürümleri ile Windows 10, version 1809 (build 17763) sürümü ve yukarısında desteklenmektedir.

Bir diğer limit ise MSIX paketleri code-signning ismi ile geçen sertifikalara sahip olmalıdır. Bu sertifika uygulamanın içerisinde yer almıyor ise SCCM üzerinde de dağıtımı mümkün değildir. Sertifikayı global sertifika üreticilerinden satın alabilirsiniz ya da kendiniz imzalayabilirsiniz. Kendiniz imzalar iseniz kök sertifika da istemci makinelerde yer almalıdır.

MSIX paket oluşturma, self-signed sertifika ile imzalama ve dağıtım adımlarını aşağıdaki yazıda yer almaktadır.

İlk olarak MSIX paket oluşturma aracını Windows 10 işletim sistemi yüklü olan bilgisayarımıza Windows store üzerinden indiriyoruz.

https://www.microsoft.com/en-us/p/msix-packaging-tool/9n5lw3jbcxkf

Güncelleme Dosyası ile Birlikte SQL Server Kurulumu

SQL server veri tabanı yönetim yazılımının güncellemeleri Service Pack ve Cumulative Update olmak üzere iki farklı yayın ile dağıtılır.

Service Pack güncellemeleri Microsoft un volume sitesinden indirdiğiniz SQL Server sürümünün içerisinde entegre olarak verilmektedir.

Cumulative Update leri ise ayrıca çekip yüklemeniz gerekmektedir.

SQL server yazılımını ilk kurduktan sonra CU güncellemelerini ayrı ayrı yükleyebilirsiniz.

İsterseniz SQL Server kurulumu sırasında da CU güncellemelerini kurulum sırasında yükleyebilirsiniz.

Bu işlemi yapmanın üç farklı yöntemi vardır.

Birincisi internete açıp olan sunucularda sql server yükleme penceresinden güncellemeleri buldurarak yükletebilirsiniz. Fakat bir çok veri tabanı yapısı internete kapalı ağda kurulmakta ve çalışmaktadır.  Güvenlik içinde bu gereklidir.

Kapalı ağda SQL server kurulumu sırasında CU paketlerini de kuruluma eklemek için komut satırından kurulum yapmalısınız. Bunun sebebi de güncelleme paketinin yerini parametre olarak belirtebilirsiniz.

Öncelikle SQL server media içeriğini sunucuda bir klasöre kopyalıyoruz.

Ardından CU güncellemesini de bir klasöre kopyalıyoruz.

Klasörler aynı olmak zorunda değil hatta dvd içerisine koyup ISO haline de getirebilirsiniz.

SQL Server Always On High Availability Course

Module 1: Introduction
Module 2: ALWAYSON AND HIGH AVAILABILITY CONCEPTS AND TERMINOLOGY
Module 3: WINDOWS SERVER 2016 FAILOVER CLUSTERING
Module 4: SQL 2016 FAILOVER CLUSTER INSTANCES
Module 5: SQL 2016 ALWAYS ON AVAILABILITY GROUPS
Module 6: The Dashboard
Module 7: Active Secondary Availability Group Actions
Module 8: Maintenance
Module 9: MONITORING AND TROUBLESHOOTING AVAILABILITY GROUPS

WSUS Firewall Ayarları

  • http://windowsupdate.microsoft.com
  • http://*.windowsupdate.microsoft.com
  • https://*.windowsupdate.microsoft.com
  • http://*.update.microsoft.com
  • https://*.update.microsoft.com
  • http://*.windowsupdate.com
  • http://download.windowsupdate.com
  • https://download.microsoft.com
  • http://*.download.windowsupdate.com
  • http://wustat.windows.com
  • http://ntservicepack.microsoft.com
  • http://go.microsoft.com
  • http://dl.delivery.mp.microsoft.com
  • https://dl.delivery.mp.microsoft.com