Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Export-Console

Export-Console - Powershell 2.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »


Short description
Exports the names of snap-ins in the current session to a console file.

Export-Console [[-Path] <string>] [-Force] [-NoClobber] [-Confirm] [-WhatIf] [<CommonParameters>]

The Export-Console cmdlet exports the names of the Windows PowerShell snap-ins in the current session to a Windows 
    PowerShell console file (.psc1). You can use this cmdlet to save the snap-ins for use in future sessions.
    To add the snap-ins in the .psc1 console file to a session, start Windows PowerShell (Powershell.exe) at the comman
    d line by using Cmd.exe or another Windows PowerShell session, and then use the PSConsoleFile parameter of Powershe
    ll.exe to specify the console file. 
    For more information about Windows PowerShell snap-ins, see about_PSSnapins.