Link

Install-TfsShell

Installs Azure DevOps Shell shortcuts and Windows Terminal profile fragments.


Table of Contents

  1. Syntax
  2. Description
  3. Parameters
  4. Related Links

Syntax

Install-TfsShell
    [-Target <ShellTarget>]
    [-Force]

[Go to top]

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.

[Go to top]

Parameters

-Force

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

-Target

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