Turn on PowerShell Transcription

Brak oficjalnego tekstu w tym języku (wyświetlono oryginał angielski)

Identyfikator zasady
EnableTranscripting
Zakres
Konfiguracja komputera, Konfiguracja użytkownika
Obsługiwane w systemach
At least Microsoft Windows 7 or Windows Server 2008 family
Źródło
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
Kategoria
Składniki systemu Windows › Windows PowerShell

Opis


This policy setting lets you capture the input and output of Windows PowerShell commands into text-based transcripts.

If you enable this policy setting, Windows PowerShell will enable transcripting for Windows PowerShell, the Windows PowerShell ISE, and any other
applications that leverage the Windows PowerShell engine. By default, Windows PowerShell will record transcript output to each users' My Documents
directory, with a file name that includes 'PowerShell_transcript', along with the computer name and time started. Enabling this policy is equivalent
to calling the Start-Transcript cmdlet on each Windows PowerShell session.

If you disable this policy setting, transcripting of PowerShell-based applications is disabled by default, although transcripting can still be enabled
through the Start-Transcript cmdlet.

If you use the OutputDirectory setting to enable transcript logging to a shared location, be sure to limit access to that directory to prevent users
from viewing the transcripts of other users or computers.

Note: This policy setting exists under both Computer Configuration and User Configuration in the Group Policy Editor. The Computer Configuration policy setting takes precedence over the User Configuration policy setting.

Opcje

Puste pole i zaznaczone pole odróżniają elementy pól wyboru w edytorze zasad grupy (zaznaczone pole to element wybrany domyślnie).

  • Transcript output directory
  • Include invocation headers:

Rejestr

KomputerHKEY_LOCAL_MACHINE
  • EnableTranscriptingREG_DWORD
  • OutputDirectoryREG_SZ
  • EnableInvocationHeaderREG_DWORD
UżytkownikHKEY_CURRENT_USER
  • EnableTranscriptingREG_DWORD
  • OutputDirectoryREG_SZ
  • EnableInvocationHeaderREG_DWORD

Inne zasady w tej samej kategorii

Zobacz wszystkie zasady w tej kategorii (5)