Here's a dictionary of basic properties that you can assign. Obviously there are complex objects, as well as guidelines for passwords and encrypted fields, but this may get you started and give you 90% of what you need. Please post requests on new topics.
By the way, this is mostly the result of running $sess | Get-Member -membertype properties | where {$_.Definition -match "get;set;"} | where {$_.Definition -match "^string" -or $_.Definition -match "^bool" -or $_.Definition -match "^int" -or $_.Definition -match "^guid"}
Maurice
TypeName: Devolutions.RemoteDesktopManager.Business.ConnectionAllowClipboardAllowPasswordVariableAllowViewPasswordActionAlternalteHostVPNBeforeAlternateHostsAlternateShellAlwaysAskForResourcesAutomaticallyCloseAutomaticallyCloseIntervalAutoReconnectionCidClearTextPasswordColorCommandLineCommandLineWaitForApplicationToExitCommandLineWorkingDirectoryConnectionStringConnectionIDConnectionSubTypeConsoleCreatedByCredentialConnectionGroupCredentialConnectionIDCredentialDynamicDescriptionCredentialDynamicValueCredentialPrivateVaultSearchStringCustomStatusDataDataFileNameDataSourceIDDescriptionDescriptionRtfDescriptionUrlDesktopCompositionDisableBitmapCacheDisableCursorSettingDisableFullWindowDragDisableMenuAnimsDisableThemesDisableUserSpecificSettingsDisableWallpaperDisplayConnectionBarDocumentLinkConnectionIDDomainDomainHostOverrideEncryptExludeFromOpenedSessionFontSmoothingForeColorGoOfflineOnConnectGroupGroupCredentialPromptGroupMainGroupTabHostHostDomainHostFullHostNetworkInterfaceMacHostPasswordHostPortHostUserNameHostWithPortIDImageMD5ImageNameImportSourceIncludeInFavoriteIsPrivateJumpConnectionIDLocalTemplateNameOpenEmbeddedPersonalConnectionIDPingConnectionScanPortPrivateKeyConnectionIDPromptCredentialsQuickConnectValueRDPFileNameSecurityGroupSecurityGroupInheritedSecurityGroupStringSharedTemplateShellWorkingDirectoryShowFooterEmbeddedShowInTrayIconSmartSizingSortPrioritySpanStampStatusStatusLockedByStatusMessageSubModeSwitchDataSourceIDSwitchDataSourceNameTabTitleTemplateNameTemplateSecurityGroupTemplateSourceIDUndockedUpdatedByUrlUserNameUsesClipboardUsesDevicesUsesHardDrivesUsesPrintersUsesSerialPortsUsesSmartDevicesUseVPNVNCOptionsVNCUrlVPNDomainVPNNameVPNPasswordVPNSafePasswordVPNUserNameWakeOnLANBroadcastIPAddressWebBrowserUrl
Maurice
Typename : Connection.PuttyAlwaysAskForPasswordCachedSessionHostCidCloseWindowOnDisconnectCustomSessionNameDomainEnhancedShortcutsExitCommandOnDisconnectFontNameForceNonDestructiveBackspaceFullScreenHistoryMaxLengthHostIgnoreCursorKeyModeChangeIgnoreSubstituteCharacterImplicitCarriageReturnInLineFeedKeepAliveIntervalLocalEchoLoginIdStringLoginNameOtherPasswordPasswordIdStringPortPortFowardingPortFowardingArrayPrivateKeyDataPrivateKeyFileNamePrivateKeyPassPhraseProxyBypassOnLocalProxyCredentialConnectionIDProxyDomainProxyPasswordProxyPortProxyUrlProxyUserNameRecordingFileNameSafePasswordSafePrivateKeyDataSafePrivateKeyPassPhraseSafeProxyPasswordSafeSessionPasswordSafeSSHGatewayPasswordScriptingScriptingDelayScriptingEnterAfterCommandSessionHostSessionLoginNameSessionNameSessionPasswordSessionPortShowDebugShowRibbonRecordingButtonSockPortSshAgentForwardingMacSshArgumentsMacSshAuthenticationMethodsSshEncryptionAlgorithmsSshEncryptionModesSSHGatewayCredentialConnectionGroupSSHGatewayCredentialConnectionIDSSHGatewayCredentialDynamicDescriptionSSHGatewayCredentialDynamicValueSSHGatewayHostSSHGatewayPasswordSSHGatewayPortSSHGatewayPromptForCredentialsSSHGatewayUsernameSshHostKeyAlgorithmsSshKeyExchangeAlgorithmsSshLocalIpSshLocalPortSshMacAlgorithmsSshRemoteHostSshRemotePortTelnetEncodingTerminalNameTimeoutUseEmbeddedSessionUseProxyUseSessionUseSSHGatewayUseSystemProxyVerbose
Maurice
Typename : Connection.MetaInformationAddressAgentConnectionTimeOutArchitectureAssetTagBladeBladeDetailsCellCidCityCompanyConnectionSubTypeContactDomainContactLinkIDContactPasswordContactUsernameCountryCpuCustomerNumberCustomField1HiddenCustomField1TitleCustomField1ValueCustomField2HiddenCustomField2TitleCustomField2ValueCustomField3HiddenCustomField3TitleCustomField3ValueCustomField4HiddenCustomField4TitleCustomField4ValueCustomField5HiddenCustomField5TitleCustomField5ValueDomainEmailFaxFirstNameHardwareIPIsHyperVServerIsJumpHostIsTerminalServerIsVirtualMachineIsVMwareServerIsXenServerKeywordsLastNameMACMachineNameMemoryMiddleNameMonitorsNotesOSPhonePrefixRackSafeContactPasswordSafePasswordHistorySerialNumberServerHomePageUrlServerRemoteManagementUrlServiceTagSiteSkypeSoftwaresStateSupportServiceLevelTitleVendorVendorLinkIDVirtualMachineNameWebsiteWorkPhoneZipCode
Maurice
Typename : Connection.CmdCaptureOutputFilePathCidDomainEmbeddedWaitTimeHostParameter1DefaultValueParameter1LabelParameter2DefaultValueParameter2LabelParameter3DefaultValueParameter3LabelParameter4DefaultValueParameter4LabelParameter5DefaultValueParameter5LabelPasswordProcessNameRun64BitsModeRunAsAdministratorRunAsDifferentUserSafeParam1DefaultSafeParam2DefaultSafeParam3DefaultSafeParam4DefaultSafeParam5DefaultSafePasswordUseDefaultWorkingDirectoryUserNameUseShellExecute
Maurice