API Reference
Command
Invoke-BGInfo
Runs BGInfo from a JSON configuration file.
Remarks
Runs BGInfo from a JSON configuration file.
Examples
EXAMPLE 1
Invoke-BGInfo -Path 'C:\Path'
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
Invoke-BGInfo [-ConfigurationDirectory <String>] [-MonitorIndex <Int32>] [-NoApply] [-OutputFileName <String>] -Path <String> [-Target <Wallpaper|LogonScreen|Both|File>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- ConfigurationDirectory String
- Override configuration output directory.
- MonitorIndex Int32
- Override monitor index.
- NoApply SwitchParameter
- Generate the image without applying it to the wallpaper.
- OutputFileName String
- Override output file name.
- Path String
- Path to the JSON configuration file.
- Target BgInfoTarget
- Override output target.
- Possible values:
Wallpaper,LogonScreen,Both,File
Outputs
System.String