< Back

Get-MSTerminalProfile

Sat Jan 18, 2020 4:51 pm

NAME Get-MSTerminalProfile



SYNOPSIS

Returns the currently defined profiles from the profiles.json file.





SYNTAX

Get-MSTerminalProfile [-Guid] <Object> [<CommonParameters>]



Get-MSTerminalProfile [[-Name] <Object>] [<CommonParameters>]





DESCRIPTION

Returns the currently defined profiles from the profiles.json file.





PARAMETERS

-Guid <Object>

Get the profile with the specified GUID.



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <Object>

The name of a profile or a wildcard pattern



Required? false

Position? 0

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

System.Object







NOTES









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



PS C:\\> Get-MSTerminalProfile



Returns all currently defined profiles.

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



PS C:\\> Get-MSTerminalProfile -Name powershell



Returns any profiles with the name powershell.

-------------------------- Example 3 --------------------------



PS C:\\> Get-MSTerminalProfile -Name *power*



Returns any profiles that match power .



RELATED LINKS