Start-Application
SYNOPSIS
SYNTAX
Application (Default)
Start-Application [-Application] <String> [<CommonParameters>]
Index
Start-Application [-Index] [<CommonParameters>]
DESCRIPTION
Launch most applications using powershell and the name of the executable
EXAMPLES
EXAMPLE 1
Launch and Application
Start-Application -Application outlook
EXAMPLE 2
Launch an application using the function alias and without specifying the application parameter
app outlook
EXAMPLE 3
Build the index used for launching applications. Can be run again to update the index when needed
Start-Application -index
PARAMETERS
-Application
Specify all or part of the name for an applications EXE or msc file
Type: System.String
Parameter Sets: Application
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Index
Used to build an index of application executables and msc files
Type: System.Management.Automation.SwitchParameter
Parameter Sets: Index
Aliases:
Required: True
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
Uses the private function Get-Elevation