Internet Forensics
Export the changes made to the current console. This action overwrites any existing console file.
Snap-In: Microsoft.PowerShell.Core
Syntax:
Export-Console [
[-Path] <String>] [-Force] [-NoClobber] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] [-WhatIf] [-Confirm]
Description:
The export-console Cmdlet is used to save a Ps console for later use. You can save the console to the current console file or a new console file. If you specify the -name parameter and a console file with that name already exists, you will be prompted before the file is overwritten. If you save the current console to a new console file, the $console environment variable is updated with the new file name. If you specify the -force parameter, you will receive no confirmation prompts even if an existing console file will be overwritten.