Get-TSTMGMTProfiles

Get the details of all Profiles from a specific folder in the Management Platform.

Written by Giuseppe

Last published at: August 20th, 2020

Retrieve the details of all Profiles from a specific folder in the Management Platform


SYNTAX

Get-TSTMGMTProfiles

[-FolderName <string>] [-FolderId <guid>] [-Force] [-Interface <guid>] [-Timeout <int>]

Get-TSTMGMTProfiles

         -Folder <Folder> [-FolderName <string>] [-FolderId <guid>] [-Interface <guid>] [-Timeout <int>]


DESCRIPTION

Retrieve the details of all Profiles from a specific folder in the Management Platform. You can specify a fully qualified folder name or a FolderId.


EXAMPLES

1. Retrieve all the Profiles using folderName from a folder called 'Powershell'

         Get-TSTMGMTProfiles -FolderName '\Profiles\Powershell'    



2. Retrieve all the Profiles using FolderId

    Get-TSTMGMTProfiles -FolderId 'C52D74CF-8B9B-491D-87FA-489936EE249F' 




PARAMETERS


-FolderName

         The fully qualified name of the folder to get Profiles from

Type: String
Required: No
Accept Pipeline Input: No


-FolderId

         The GUID of the folder to get Profiles from (not required if FolderName is supplied)

Type: Guid
Required: No
Accept Pipeline Input: No


-Folder

         Folder object to get Profiles from

Type: ThinScale.Management.DataObjects.Folder
Required: Yes
Accept Pipeline Input: Yes


-Interface

The interface ID returned by a previously successful call to Connect-TSTMGMTServer. This parameter is only required if you are connected to 2 or more Management Platform instances at the same time. If this parameter is not specified the connection to the last successful call to Connect-TSTMgmtServer will be used.

Type: Guid
Required: No
Accept Pipeline Input: No


-Timeout

The time allowed in milliseconds for the call to complete before it is deemed to have timed out and is aborted

Type: Int32
Required: No
Accept Pipeline Input: No


-Force

         If multiple objects are found with the same name, the first retrieved will be used otherwise the call will fail

Type: SwitchParameter
Required: No
Accept Pipeline Input: No


INPUTS

 ThinScale.Management.DataObjects.Folder


OUTPUTS

 ThinScale.Management.DataObjects.Profile