Install-TfsShell
Installs Azure DevOps Shell shortcuts and Windows Terminal profile fragments.
Table of Contents
Syntax
Install-TfsShell
[-Target <ShellTarget>]
[-Force]
Description
Install-TfsShell creates shell shortcuts that launch a PowerShell session with the TfsCmdlets module pre-loaded and Enter-TfsShell invoked. When Windows Terminal is detected, it creates shortcuts that launch via wt.exe and deploys JSON profile fragments. Use -Force to create traditional PowerShell shortcuts even when Windows Terminal is available. Windows Terminal detection uses registry lookups and file system checks. If detection fails (e.g. due to insufficient permissions), the cmdlet falls back to PowerShell shortcuts automatically.
Parameters
Forces the creation of traditional PowerShell shortcuts even when Windows Terminal is detected. Does not affect the WindowsTerminal target.
| Type | SwitchParameter |
| Position | (Named) |
| Default Value | (N/A) |
| Accept pipeline input | False |
| Accept wildcard characters | False |
Specifies the target locations for shortcut installation. Defaults to StartMenu and Desktop. Possible values: StartMenu, Desktop, WindowsTerminal, All
| Type | ShellTarget |
| Position | 0 |
| Default Value | StartMenu, Desktop |
| Accept pipeline input | False |
| Accept wildcard characters | False |