Contact Info

Crumbtrail

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

Import-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 »

Import-Alias

Short description
Imports an alias list from a file.

Syntax
Import-Alias [-Path] <String> [-Force] [-PassThru] [-Scope <String>] [-Confirm] [-WhatIf] [<CommonParameters>]
Import-Alias [-Force] [-PassThru] [-Scope <String>] -LiteralPath <String> [-Confirm] [-WhatIf] [<CommonParameters>]





Description
The Import-Alias cmdlet imports an alias list from a file.


Beginning in Windows PowerShell 3.0, as a security feature, Import-Alias does not overwrite existing aliases by default
. To overwrite an existing alias, after assuring that the contents of the alias file is safe, use the Force parameter.