PowerShell Language Reference (Set-Variable)
[ KiXtart VBScript Batch AutoIt HTA PowerShell Windows Command Lines Other Command Line Utilities ]Set-Variable (cmdlet)
Syntax
Set-Variable [-name] <string[]> [[-value] <Object>] [-include <string[]>] [-exclude <string[]>] [-scope <string>] [-description <string>] [-option {<None> | <ReadOnly> | <Constant> | <Private> | <AllScope>}] [-force] [-p
Description
Sets the value of a variable. Creates the variable if one with the requested name does not exist.
Remarks
Sets the value of a variable. May create the variable if one with the requested name does not exist.
Also see:
Get-Variable New-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 1740 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!



