TcXaeMgmt Version 7.X | Write-MdpTransferObject Session Write-MdpTransferObject -Session [-Timeout ] -Module - MethodName -Value [-PollingRate ] [-OperationTimeout ] [-Quiet] [-WhatIf] [-Confirm] [ ] DESCRIPTION The Write-MdpTransferObject cmdlet writes trigger data to an MDP Service Transfer Object, optionally polls the operation status, and returns the result. Service Transfer Objects are asynchronous operations like AddUser, Reboot, AddRoute, ApplyNetworkSettings, etc. Use Get-MdpModules -ServiceObjects to discover available operations on a target. The cmdlet supports ShouldProcess (-WhatIf / -Confirm) and requires confirmation by default (ConfirmImpact = High).
Use -Quiet or -Force to suppress the confirmation prompt. This cmdlet is preliminary and subject to change. EXAMPLES Example 1 PS> Write-MdpTransferObject -Module NIC -MethodName ApplyNetworkSettings -Value "1" ModuleType MethodName Status StatusDescription ---------- ---------- ------ ----------------- NIC ApplyNetworkSettings 0 Success (no data) Executes the ApplyNetworkSettings operation on the local NIC module and waits for completion.
Example 2 PS> Write-MdpTransferObject -Module NIC -MethodName ApplyNetworkSettings -Value "1" - NetId 5.62.192.46.1.1 ModuleType MethodName Status StatusDescription ---------- ---------- ------ ----------------- NIC ApplyNetworkSettings 0 Success (no data) Executes the operation on a remote target system. Example 3 PS> Write-MdpTransferObject -Module NIC -MethodName ApplyNetworkSettings -Value "1" -PollingRate 0 - Quiet ModuleType MethodName Status StatusDescription ---------- ---------- ------ ----------------- NIC ApplyNetworkSettings 255 Fire-and-forget (not polled) Fire-and-forget: sends the trigger and returns immediately without polling for completion.
Example 4 PS> Write-MdpTransferObject -Module UserManagement -MethodName AddUser -Value "newuser" -WhatIf What if: Performing the operation "Write- MdpTransferObject" on target "Execute MDP operation 'Add User' on module 'UserManagement'". Shows what would happen without executing the operation. Example 5 PS> Write-MdpTransferObject -Module NIC -MethodName ApplyNetworkSettings -Value "1" - OperationTimeout 60 -PollingRate 500 ModuleType MethodName Status StatusDescription TE1000 94 Version: 1.5.0