Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » Export-Alias

Export-Alias - 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 »

Export-Alias

Short description
Exports information about currently defined aliases to a file.

Syntax
Export-Alias [-Path] <string> [[-Name] <string[]>] [-Append] [-As {Csv | Script}] [-Description <string>] [-Force] 
    [-NoClobber] [-PassThru] [-Scope <string>] [-Confirm] [-WhatIf] [<CommonParameters>]

Description
The Export-Alias cmdlet exports the aliases in the current session to a file.  If the output file does not exist, t
    he cmdlet will create it. 
    
    Export-Alias can export the aliases in a particular scope or all scopes, it can generate the data in CSV format or 
    as a series of Set-Alias commands that you can add to a session or to a Windows PowerShell profile.