Turn on Module Logging: kayıt defteri değeri EnableModuleLogging (ModuleLogging)KullanıcıHKCU\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging
Bu dilde resmi metin yok (İngilizce özgün metin gösteriliyor)
- İlke Kimliği
- EnableModuleLogging
- Kapsam
- Bilgisayar Yapılandırması, Kullanıcı Yapılandırması
- Desteklenen işletim sistemleri
- At least Microsoft Windows 7 or Windows Server 2008 family
- Kaynak
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (sürüm 1.0)
- Kategori
- Windows Bileşenleri › Windows PowerShell
Kayıt defteri
EnableModuleLogging
REG_DWORDKullanıcıBilgisayar…\Software\Policies\Microsoft\Windows\PowerShell\ModuleLoggingHKCU\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging Geçerli anahtar
HKLM\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging
HKLM\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging
- Etkin değeri
- 1
- Devre dışı değeri
- 0
.reg · CMD · PowerShell ile uygula
KullanıcıHesap başına ayar
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging] ; Seçenekler (yalnızca birini kullanın) ; Etkin "EnableModuleLogging"=dword:00000001 ; Devre Dışı "EnableModuleLogging"=dword:00000000
CMD
:: Seçenekler (yalnızca birini kullanın) :: Etkin reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging" /v "EnableModuleLogging" /t REG_DWORD /d 1 /f :: Devre Dışı reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging" /v "EnableModuleLogging" /t REG_DWORD /d 0 /f
PowerShell
# Ortak: anahtarı oluştur New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging' -Force | Out-Null # Seçenekler (yalnızca birini kullanın) # Etkin New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging' -Name 'EnableModuleLogging' -PropertyType DWord -Value 1 -Force | Out-Null # Devre Dışı New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging' -Name 'EnableModuleLogging' -PropertyType DWord -Value 0 -Force | Out-Null
BilgisayarMakine genelinde ayar
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging] ; Seçenekler (yalnızca birini kullanın) ; Etkin "EnableModuleLogging"=dword:00000001 ; Devre Dışı "EnableModuleLogging"=dword:00000000
CMD
:: Seçenekler (yalnızca birini kullanın) :: Etkin reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging" /v "EnableModuleLogging" /t REG_DWORD /d 1 /f :: Devre Dışı reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging" /v "EnableModuleLogging" /t REG_DWORD /d 0 /f
PowerShell
# Ortak: anahtarı oluştur New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging' -Force | Out-Null # Seçenekler (yalnızca birini kullanın) # Etkin New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging' -Name 'EnableModuleLogging' -PropertyType DWord -Value 1 -Force | Out-Null # Devre Dışı New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging' -Name 'EnableModuleLogging' -PropertyType DWord -Value 0 -Force | Out-Null
(liste değerleri)
REG_SZBilgisayarKullanıcı…\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNamesHKLM\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames
HKCU\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames
HKCU\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames
- Etkin değeri
- Seçenek değerine bağlıdır
- Öğe
- Module Names
- Değer türü
- REG_SZ
.reg · CMD · PowerShell ile uygula
BilgisayarMakine genelinde ayar
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames] "<değeri girin>"="<değeri girin>"
CMD
reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames" /v "<değeri girin>" /t REG_SZ /d "<değeri girin>" /f
PowerShell
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames' -Name '<değeri girin>' -PropertyType String -Value '<değeri girin>' -Force | Out-Null
KullanıcıHesap başına ayar
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames] "<değeri girin>"="<değeri girin>"
CMD
reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames" /v "<değeri girin>" /t REG_SZ /d "<değeri girin>" /f
PowerShell
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames' -Name '<değeri girin>' -PropertyType String -Value '<değeri girin>' -Force | Out-Null