PowerShell Language Reference (New-Variable)
[ KiXtart VBScript Batch AutoIt HTA PowerShell Windows Command Lines Other Command Line Utilities ]New-Variable (cmdlet)
Syntax
New-Variable [-name] <string> [[-value] <Object>] [-scope <string>] [-description <string>] [-option {<None> | <ReadOnly> | <Constant> | <Private> | <AllScope>}] [-force] [-passThru] [-whatIf] [-confirm] [<CommonParamete
Description
Creates a new variable.
Remarks
It does not, by default, assign a value to the variable.
Also see:
Get-Variable Set-Variable Remove-Variable Clear-Variable
Microsoft (built-in help)
Have a correction, addition or suggestion on this? Please let us know!
Last Edited: . This page has been viewed 1652 times. Unless otherwise specified, all information is (C) 2004-2007 iTripoli, Inc. All Rights Reserved.
Note: you can view this information right within ASE by right clicking any keyword and selecting "Help..."

iTripoli prides itself on providing top notch customer service
Find answers or open a ticket to ask directly, when opening a ticket we will suggest relavant articles to help you get answers as quickly and accurately as possible. Visit our support center now!



