Contact Info

Crumbtrail

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

Export-Alias - Powershell 3.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 <ExportAliasFormat>] [-Description <String>] [-Force]
 [-NoClobber] [-PassThru] [-Scope <String>] [-Confirm] [-WhatIf] [<CommonParameters>]
Export-Alias [[-Name] <String[]>] [-Append] [-As <ExportAliasFormat>] [-Description <String>] [-Force] [-NoClobber] [-P
assThru] [-Scope <String>] -LiteralPath <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, the c
mdlet 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.