Turn on PowerShell Transcription: registerwaarde EnableTranscripting en 2 meerComputerHKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription

Geen officiële Nederlandse tekst (Engelse originele tekst)

Beleids-ID
EnableTranscripting
Bereik
Computerconfiguratie, Gebruikersconfiguratie
Ondersteund op
At least Microsoft Windows 7 or Windows Server 2008 family
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Windows-onderdelen › Windows PowerShell

Register

EnableTranscripting

REG_DWORDComputerGebruiker
Waarde bij ingeschakeld
1
Waarde bij uitgeschakeld
0
Toepassen met .reg · CMD · PowerShell
ComputerInstelling voor de hele computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\PowerShell\Transcription]

; Opties (gebruik er maar één)
; Ingeschakeld
"EnableTranscripting"=dword:00000001
; Uitgeschakeld
"EnableTranscripting"=dword:00000000
CMD
:: Opties (gebruik er maar één)

:: Ingeschakeld
reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableTranscripting" /t REG_DWORD /d 1 /f
:: Uitgeschakeld
reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableTranscripting" /t REG_DWORD /d 0 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null

# Opties (gebruik er maar één)
# Ingeschakeld
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableTranscripting' -PropertyType DWord -Value 1 -Force | Out-Null
# Uitgeschakeld
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableTranscripting' -PropertyType DWord -Value 0 -Force | Out-Null
GebruikerInstelling per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\PowerShell\Transcription]

; Opties (gebruik er maar één)
; Ingeschakeld
"EnableTranscripting"=dword:00000001
; Uitgeschakeld
"EnableTranscripting"=dword:00000000
CMD
:: Opties (gebruik er maar één)

:: Ingeschakeld
reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableTranscripting" /t REG_DWORD /d 1 /f
:: Uitgeschakeld
reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableTranscripting" /t REG_DWORD /d 0 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null

# Opties (gebruik er maar één)
# Ingeschakeld
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableTranscripting' -PropertyType DWord -Value 1 -Force | Out-Null
# Uitgeschakeld
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableTranscripting' -PropertyType DWord -Value 0 -Force | Out-Null

OutputDirectory

REG_SZComputerGebruiker
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Transcript output directory
Waardetype
REG_SZ
Toepassen met .reg · CMD · PowerShell
ComputerInstelling voor de hele computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\PowerShell\Transcription]

; Waardenamen en typen volgen de ADMX. Vervang <waarde invoeren> hieronder door uw eigen gegevens
"OutputDirectory"="<waarde invoeren>"
CMD
:: Waardenamen en typen volgen de ADMX. Vervang <waarde invoeren> hieronder door uw eigen gegevens

reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "OutputDirectory" /t REG_SZ /d "<waarde invoeren>" /f
PowerShell
# Waardenamen en typen volgen de ADMX. Vervang <waarde invoeren> hieronder door uw eigen gegevens

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'OutputDirectory' -PropertyType String -Value '<waarde invoeren>' -Force | Out-Null
GebruikerInstelling per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\PowerShell\Transcription]

; Waardenamen en typen volgen de ADMX. Vervang <waarde invoeren> hieronder door uw eigen gegevens
"OutputDirectory"="<waarde invoeren>"
CMD
:: Waardenamen en typen volgen de ADMX. Vervang <waarde invoeren> hieronder door uw eigen gegevens

reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "OutputDirectory" /t REG_SZ /d "<waarde invoeren>" /f
PowerShell
# Waardenamen en typen volgen de ADMX. Vervang <waarde invoeren> hieronder door uw eigen gegevens

New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'OutputDirectory' -PropertyType String -Value '<waarde invoeren>' -Force | Out-Null

EnableInvocationHeader

REG_DWORDComputerGebruiker
Aangevinkt
1
Niet aangevinkt
0
Element
Include invocation headers:
Waardetype
REG_DWORD
Toepassen met .reg · CMD · PowerShell
ComputerInstelling voor de hele computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\PowerShell\Transcription]

; Opties (gebruik er maar één)
; Aangevinkt
"EnableInvocationHeader"=dword:00000001
; Niet aangevinkt
"EnableInvocationHeader"=dword:00000000
CMD
:: Opties (gebruik er maar één)

:: Aangevinkt
reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableInvocationHeader" /t REG_DWORD /d 1 /f
:: Niet aangevinkt
reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableInvocationHeader" /t REG_DWORD /d 0 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null

# Opties (gebruik er maar één)
# Aangevinkt
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableInvocationHeader' -PropertyType DWord -Value 1 -Force | Out-Null
# Niet aangevinkt
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableInvocationHeader' -PropertyType DWord -Value 0 -Force | Out-Null
GebruikerInstelling per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\PowerShell\Transcription]

; Opties (gebruik er maar één)
; Aangevinkt
"EnableInvocationHeader"=dword:00000001
; Niet aangevinkt
"EnableInvocationHeader"=dword:00000000
CMD
:: Opties (gebruik er maar één)

:: Aangevinkt
reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableInvocationHeader" /t REG_DWORD /d 1 /f
:: Niet aangevinkt
reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableInvocationHeader" /t REG_DWORD /d 0 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null

# Opties (gebruik er maar één)
# Aangevinkt
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableInvocationHeader' -PropertyType DWord -Value 1 -Force | Out-Null
# Niet aangevinkt
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableInvocationHeader' -PropertyType DWord -Value 0 -Force | Out-Null