Creates a new variable.
Snap-In: Microsoft.PowerShell.Utility
Syntax:
New-Variable
[-Name] <String> [ [-Value] <Object>] [-Description <String>] [-Option <ScopedItemOptions>] [-Force] [-PassThru] [-Scope <String>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] [-WhatIf] [-Confirm]
Description:
The new-variable Cmdlet creates a new variable within a namespace. It does not assign a value to the variable unless instructed to do so.