< Back

Set-MSTerminalTargetInstallation

Sat Jan 18, 2020 4:52 pm

NAME Set-MSTerminalTargetInstallation



SYNOPSIS

Used to switch the module target between the Dev, Release, and Standalone installations of Microsoft Terminal.





SYNTAX

Set-MSTerminalTargetInstallation -Path <Object> [<CommonParameters>]



Set-MSTerminalTargetInstallation -Type {Dev | Release | Standalone | Clear} [<CommonParameters>]





DESCRIPTION

Used to switch the module target between the Dev, Release, and Standalone installations of Microsoft Terminal.





PARAMETERS

-Path <Object>

A fully qualified path to the parent folder of a profiles.json file.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Type <Object>

The application release to target for the module.



Release = Installed from Windows Store Standalone = Non-packaged version Dev = Compiled from source and

installed via appx Clear = Enables the auto-discovery mode that searches for Release, Standalone, then Dev.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

None







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> Set-MSTerminalTargetInstallation -Type Dev



Change the target profiles.json to the dev path (WindowsTerminalDev_8wekyb3d8bbwe)

-------------------------- Example 2 --------------------------



PS C:\\> Set-MSTerminalTargetInstallation -Type Release



Change the target profiles.json to the release path (Microsoft.WindowsTerminal_8wekyb3d8bbwe)



RELATED LINKS