Sets data in a variable and creates a variable if one with the requested name does not exist.
Snap-In: Microsoft.PowerShell.Utility
Syntax:
Set-Variable
[-Name] <String[]> [ [-Value] <Object>] [-Include <String[]>] [-Exclude <String[]>] [-Description <String>] [-Option <ScopedItemOptions>] [-Force] [-PassThru] [-Scope <String>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] [-WhatIf] [-Confirm]
Description:
Sets data in a variable. The cmdlet creates a variable if one with the requested name does not exist.