Kod: Tümünü seç
)
Taskbar = @(
[pscustomobject]@{
BaseKey = [BaseKey]::Taskband
Name = "Favorites"
Recommended = [ValuePair]::new([byte[]](
0x00, 0xaa, 0x01, 0x00, 0x00, 0x3a, 0x00, 0x1f, 0x80, 0xc8, 0x27, 0x34, 0x1f, 0x10, 0x5c, 0x10,
0x42, 0xaa, 0x03, 0x2e, 0xe4, 0x52, 0x87, 0xd6, 0x68, 0x26, 0x00, 0x01, 0x00, 0x26, 0x00, 0xef,
0xbe, 0x10, 0x00, 0x00, 0x00, 0xf4, 0x7e, 0x76, 0xfa, 0xde, 0x9d, 0xda, 0x01, 0x40, 0x61, 0x5d,
0x09, 0xdf, 0x9d, 0xda, 0x01, 0x19, 0xb8, 0x5f, 0x09, 0xdf, 0x9d, 0xda, 0x01, 0x14, 0x00, 0x56,
0x00, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa4, 0x58, 0xa9, 0x26, 0x10, 0x00, 0x54, 0x61, 0x73,
0x6b, 0x42, 0x61, 0x72, 0x00, 0x40, 0x00, 0x09, 0x00, 0x04, 0x00, 0xef, 0xbe, 0xa4, 0x58, 0xa9,
0x26, 0xa4, 0x58, 0xa9, 0x26, 0x2e, 0x00, 0x00, 0x00, 0xde, 0x9c, 0x01, 0x00, 0x00, 0x00, 0x02,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c,
0xf4, 0x85, 0x00, 0x54, 0x00, 0x61, 0x00, 0x73, 0x00, 0x6b, 0x00, 0x42, 0x00, 0x61, 0x00, 0x72,
0x00, 0x00, 0x00, 0x16, 0x00, 0x18, 0x01, 0x32, 0x00, 0x8a, 0x04, 0x00, 0x00, 0xa4, 0x58, 0xb6,
0x26, 0x20, 0x00, 0x46, 0x49, 0x4c, 0x45, 0x45, 0x58, 0x7e, 0x31, 0x2e, 0x4c, 0x4e, 0x4b, 0x00,
0x00, 0x54, 0x00, 0x09, 0x00, 0x04, 0x00, 0xef, 0xbe, 0xa4, 0x58, 0xb6, 0x26, 0xa4, 0x58, 0xb6,
0x26, 0x2e, 0x00, 0x00, 0x00, 0xb7, 0xa8, 0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x5a, 0x1e, 0x01, 0x46,
0x00, 0x69, 0x00, 0x6c, 0x00, 0x65, 0x00, 0x20, 0x00, 0x45, 0x00, 0x78, 0x00, 0x70, 0x00, 0x6c,
0x00, 0x6f, 0x00, 0x72, 0x00, 0x65, 0x00, 0x72, 0x00, 0x2e, 0x00, 0x6c, 0x00, 0x6e, 0x00, 0x6b,
0x00, 0x00, 0x00, 0x1c, 0x00, 0x22, 0x00, 0x00, 0x00, 0x1e, 0x00, 0xef, 0xbe, 0x02, 0x00, 0x55,
0x00, 0x73, 0x00, 0x65, 0x00, 0x72, 0x00, 0x50, 0x00, 0x69, 0x00, 0x6e, 0x00, 0x6e, 0x00, 0x65,
0x00, 0x64, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x12, 0x00, 0x00, 0x00, 0x2b, 0x00, 0xef, 0xbe, 0x19,
0xb8, 0x5f, 0x09, 0xdf, 0x9d, 0xda, 0x01, 0x1c, 0x00, 0x74, 0x00, 0x00, 0x00, 0x1d, 0x00, 0xef,
0xbe, 0x02, 0x00, 0x7b, 0x00, 0x46, 0x00, 0x33, 0x00, 0x38, 0x00, 0x42, 0x00, 0x46, 0x00, 0x34,
0x00, 0x30, 0x00, 0x34, 0x00, 0x2d, 0x00, 0x31, 0x00, 0x44, 0x00, 0x34, 0x00, 0x33, 0x00, 0x2d,
0x00, 0x34, 0x00, 0x32, 0x00, 0x46, 0x00, 0x32, 0x00, 0x2d, 0x00, 0x39, 0x00, 0x33, 0x00, 0x30,
0x00, 0x35, 0x00, 0x2d, 0x00, 0x36, 0x00, 0x37, 0x00, 0x44, 0x00, 0x45, 0x00, 0x30, 0x00, 0x42,
0x00, 0x32, 0x00, 0x38, 0x00, 0x46, 0x00, 0x43, 0x00, 0x32, 0x00, 0x33, 0x00, 0x7d, 0x00, 0x5c,
0x00, 0x65, 0x00, 0x78, 0x00, 0x70, 0x00, 0x6c, 0x00, 0x6f, 0x00, 0x72, 0x00, 0x65, 0x00, 0x72,
0x00, 0x2e, 0x00, 0x65, 0x00, 0x78, 0x00, 0x65, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0xff
), [RegistryValueKind]::Binary)
DefaultValue = $null
Description = "File Explorer pinning and taskbar layout"
},
[pscustomobject]@{
BaseKey = [BaseKey]::TaskbarChat
Name = "ChatIcon"
Recommended = [ValuePair]::new(3, [RegistryValueKind]::DWord)
DefaultValue = $null
Description = "Windows Chat icon visibility"
},
[pscustomobject]@{
BaseKey = [BaseKey]::TaskbarFeeds
Name = "EnableFeeds"
Recommended = [ValuePair]::new(0, [RegistryValueKind]::DWord)
DefaultValue = $null
Description = "Disable news and interests feed"
},
[pscustomobject]@{
BaseKey = [BaseKey]::PolicyManagerNews
Name = "value"
Recommended = [ValuePair]::new(0, [RegistryValueKind]::DWord)
DefaultValue = $null
Description = "Block news and interests"
},
[pscustomobject]@{
BaseKey = [BaseKey]::TaskbarDsh
Name = "AllowNewsAndInterests"
Recommended = [ValuePair]::new(0, [RegistryValueKind]::DWord)
DefaultValue = $null
Description = "Disable news and interests"
},
[pscustomobject]@{
BaseKey = [BaseKey]::LMPolicyExplorer
Name = "HideSCAMeetNow"
Recommended = [ValuePair]::new(1, [RegistryValueKind]::DWord)
DefaultValue = $null
Description = "Hide Meet Now button"
},
[pscustomobject]@{
BaseKey = [BaseKey]::CUExplorerAdvanced
Name = "TaskbarMn"
Recommended = [ValuePair]::new(0, [RegistryValueKind]::DWord)
DefaultValue = $null
Description = "Taskbar menu configuration"
},
[pscustomobject]@{
BaseKey = [BaseKey]::CUExplorerAdvanced
Name = "ShowTaskViewButton"
Recommended = [ValuePair]::new(0, [RegistryValueKind]::DWord)
DefaultValue = $null
Description = "Hide Task View button"
},
[pscustomobject]@{
BaseKey = [BaseKey]::CUExplorer
Name = "EnableAutoTray"
Recommended = [ValuePair]::new(0, [RegistryValueKind]::DWord)
DefaultValue = $null
Description = "System tray icon behavior"
},
[pscustomobject]@{
BaseKey = [BaseKey]::CUPolicyExplorer
Name = "NoStartMenuMFUprogramsList"
Recommended = [ValuePair]::new(0, [RegistryValueKind]::DWord)
DefaultValue = $null
Description = "Clear frequently used programs list"
},
[pscustomobject]@{
BaseKey = [BaseKey]::CUPolicyExplorer
Name = "HideSCAMeetNow"
Recommended = [ValuePair]::new(1, [RegistryValueKind]::DWord)
DefaultValue = $null
Description = "Hide Meet Now button (user)"
},
[pscustomobject]@{
BaseKey = [BaseKey]::CUSearch
Name = "SearchboxTaskbarMode"
Recommended = [ValuePair]::new(0, [RegistryValueKind]::DWord)
DefaultValue = $null
Description = "Search box appearance"
},
[pscustomobject]@{
BaseKey = [BaseKey]::CUExplorerAdvanced
Name = "ShowCopilotButton"
Recommended = [ValuePair]::new(0, [RegistryValueKind]::DWord)
DefaultValue = $null
Description = "Hide Copilot button"
},
[pscustomobject]@{
BaseKey = [BaseKey]::CUExplorerAdvanced
Name = "TaskbarSn"
Recommended = [ValuePair]::new(0, [RegistryValueKind]::DWord)
DefaultValue = $null
Description = "Taskbar system notifications"
},
[pscustomobject]@{
BaseKey = [BaseKey]::CUExplorerAdvanced
Name = "TaskbarAl"
Recommended = [ValuePair]::new(0, [RegistryValueKind]::DWord)
DefaultValue = $null
Description = "Left-align taskbar icons"
}
)
Explorer = @(
[pscustomobject]@{
BaseKey = [BaseKey]::FileSystem
Name = "LongPathsEnabled"
Recommended = [ValuePair]::new(1, [RegistryValueKind]::DWord)
DefaultValue = $null
Description = "Enables long file paths (up to 32,767 characters)"
},
Bu bölüm, bir PowerShell betiği içinde Windows kayıt defteri ayarlarını yapılandırmak için kullanılan bir dizi özelleştirilmiş nesne içeriyor. Her bir nesne, belirli bir ayarın temel anahtarını, adını, önerilen değerini, varsayılan değerini ve açıklamasını içeriyor. Şimdi bu bölümün ana bileşenlerini analiz edelim:
Her bir ayar, [pscustomobject] kullanılarak tanımlanmış. Bu, PowerShell'de nesne oluşturmanın bir yoludur ve her bir ayarın özelliklerini tutmak için kullanılır.
BaseKey, ayarın hangi kayıt defteri anahtarında bulunduğunu belirtir. Örneğin, Taskband, TaskbarChat, TaskbarFeeds gibi anahtarlar, görev çubuğu ile ilgili ayarları temsil eder.
Dosya Gezgini'nde sabitlenmiş öğelerin ve görev çubuğu düzeninin ayarlarını içerir. Önerilen değer, ikili bir veri dizisi olarak verilmiştir.
Windows Chat simgesinin görünürlüğünü kontrol eder. Önerilen değer 3, bu da simgenin görünür olduğunu gösterir.
Haber ve ilgi alanları akışını devre dışı bırakır. Önerilen değer 0, yani devre dışı.
Haber ve ilgi alanlarını devre dışı bırakır. Önerilen değer yine 0.
"Meet Now" butonunu gizler. Önerilen değer 1, yani gizli.
Görev çubuğu menü yapılandırmasını kontrol eder. Önerilen değer 0.
Görev Görünümü butonunu gizler. Önerilen değer 0.
Sistem tepsisi simgesi davranışını kontrol eder. Önerilen değer 0.
Sık kullanılan programlar listesini temizler. Önerilen değer 0.
Arama kutusunun görünümünü kontrol eder. Önerilen değer 0.
Copilot butonunu gizler. Önerilen değer 0.
Görev çubuğu sistem bildirimlerini kontrol eder. Önerilen değer 0.
Görev çubuğu simgelerini sola hizalar. Önerilen değer 0.
Bu ayarlar, Windows kullanıcı arayüzünü özelleştirmek ve belirli özellikleri devre dışı bırakmak için kullanılabilir. Özellikle, kullanıcı deneyimini sadeleştirmek ve gereksiz öğeleri gizlemek amacı taşır.
Bu bölüm, Windows işletim sisteminin görev çubuğu ve dosya gezgini ile ilgili ayarlarını yapılandırmak için bir dizi özelleştirilmiş nesne içeriyor. Kullanıcıların arayüzlerini özelleştirmelerine ve belirli özellikleri devre dışı bırakmalarına olanak tanır. Bu tür bir yapı, sistem yöneticileri veya kullanıcıların belirli bir iş akışını optimize etmeleri için faydalı olabilir.