Get-TSTMGMTProfileObject

Get the details of a profile's object from the Management Platform.

Written by Giuseppe

Last published at: August 20th, 2020

Get the details of a profile's object from the Management Platform


SYNTAX

Get-TSTMGMTProfileObject

        -Profile <Profile> [-Interface <guid>] [-Timeout <int>]


DESCRIPTION

Retrieve details of the profile objects  from the Management Platform using the Profile Object


EXAMPLES

1.  Get a profile objects details from the first profile in the Management Platform, modify two checkboxes and save it.

Connect-TSTMGMTServer -Uri "https://yourserver/TSTMgmt" -Username "Administrator" -Password "XXXXXXXXXXXX"
$alldata = Get-TSTMGMTAllData                                                                                                                                                 $alldata.Profiles[0] | Get-TSTMGMTProfileObject

        $profile = $alldata.Profiles[0]
        $profileData =  ($alldata.Profiles[0] | Get-TSTMGMTProfileObject)

        $profileData.Appearance.ShowMaximised = 'true'
        $profileData.Appearance.NoWindowResizing = 'true'
        $profileData.Appearance.CustomTitle = New-Object ThinKiosk.Configuration.Profile.ValueBool[string]('true',"ThinKiosk Trial - %computername%")

        Add-TSTMGMTProfileRevision -Profile $profile -ProfileData $profileData -RevisionNotes "Revision from PowerShell"



PARAMETERS


-Profile   

        The profile object

Type: ThinScale.Management.DataObjects.Profile
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



INPUTS

 ThinScale.Management.DataObjects.Profile


OUTPUTS

ThinKiosk.Configuration.Profile.TKProfile

ThinScale.VDA.Configuration.Profile.TSTVDAProfile

IntelliPerform.Configuration.Profile.TLProfile