New-PSLauncherConfigFile

SYNOPSIS

Creates the config file with the provided settings

SYNTAX

New-PSLauncherConfigFile [-ConfigPath] <DirectoryInfo> [-CreateShortcut] [[-Description] <String>]
 [[-Color1] <String>] [[-Color2] <String>] [[-LabelColor] <String>] [[-ButtonColor] <String>]
 [[-TextColor] <String>] [[-LogoPath] <String>] [[-Title] <String>] [[-Panel01] <String>] [[-Panel02] <String>]
 [-LaunchColorPicker] [<CommonParameters>]

DESCRIPTION

Creates the config file with the provided settings

EXAMPLES

EXAMPLE 1

New-PSLauncherConfigFile -ConfigPath c:\temp -LaunchColorPicker

PARAMETERS

-ConfigPath

Path where the config file will be saved.

Type: DirectoryInfo
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-CreateShortcut

Creates a shortcut in the same directory that calls PowerShell and the config.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Description

Text to be used in the info panel.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Color1

Run Start-PSLauncherColorPicker to change.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: #E5E5E5
Accept pipeline input: False
Accept wildcard characters: False

-Color2

Run Start-PSLauncherColorPicker to change.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: #061820
Accept pipeline input: False
Accept wildcard characters: False

-LabelColor

Run Start-PSLauncherColorPicker to change.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: #FFD400
Accept pipeline input: False
Accept wildcard characters: False

-ButtonColor

Run Start-PSLauncherColorPicker to change.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 6
Default value: #84ae46
Accept pipeline input: False
Accept wildcard characters: False

-TextColor

Run Start-PSLauncherColorPicker to change.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 7
Default value: #000000
Accept pipeline input: False
Accept wildcard characters: False

-LogoPath

Run Start-PSLauncherColorPicker to change.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 8
Default value: Https://gist.githubusercontent.com/smitpi/ecdaae80dd79ad585e571b1ba16ce272/raw/6d0645968c7ba4553e7ab762c55270ebcc054f04/default-monochrome%2520(2).png
Accept pipeline input: False
Accept wildcard characters: False

-Title

Text in the title of the app.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 9
Default value: PowerShell Launcher
Accept pipeline input: False
Accept wildcard characters: False

-Panel01

Name of the 1st panel

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 10
Default value: First
Accept pipeline input: False
Accept wildcard characters: False

-Panel02

Name of the 2nd panel

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 11
Default value: Second
Accept pipeline input: False
Accept wildcard characters: False

-LaunchColorPicker

Launches Start-PSLauncherColorPicker

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES