external help file | Module Name | online version | schema |
---|---|---|---|
WTToolBox-help.xml |
WTToolBox |
2.0.0 |
Set the default Windows Terminal profile
Set-WTDefaultProfile [-Guid] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
This command will set the default Windows Terminal profile. It will update your settings.json file.
PS C:\> Get-WTProfile -name Powershell | Set-WTDefaultProfile
Set the default profile. The easiest approach is to use Get-WTProfile to select the profile you wish to use and pipe that to Set-WTDefaultProfile.md.
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The Windows Terminal profile guid including the {}. The easiest approach is to use Get-WTProfile to select the profile you wish to use and pipe that to Set-WTDefaultProfile.md.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Learn more about PowerShell: http://jdhitsolutions.com/blog/essential-powershell-resources/