Creates a new cmdlet-alias pairing.
Snap-In: Microsoft.PowerShell.Utility
Syntax:
New-Alias
[-Name] <String> [-Value] <String> [-Description <String>] [-Option <ScopedItemOptions>] [-PassThru] [-Scope <String>] [-Force] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] [-WhatIf] [-Confirm]
Description:
The new-alias Cmdlet makes a new cmdlet-alias pairing. This alias name is added to the list for the session. If you exit the session or close the command shell, the alias name is deleted.