API Reference
Command
New-BGInfoVariable
Creates a reusable BGInfo variable backed by a built-in provider.
Remarks
Creates a reusable BGInfo variable backed by a built-in provider.
Examples
EXAMPLE 1
New-BGInfoVariable -Name 'Name' -Provider 'Value'
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-BGInfoVariable [-Argument <String>] -Name <String> -Provider <Volumes> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Argument String
- Optional provider argument for filtering/customization.
- Name String
- Name used by -ForEach references.
- Provider BgInfoVariableProvider
- Built-in provider used to populate the variable.
- Possible values:
Volumes
Outputs
PowerBGInfo.BgInfoVariable