TcXaeMgmt Version 7.X | Set-AmsNetId INPUTS TwinCAT.IRoute[] TwinCAT.ISession[] OUTPUTS NOTES 6.6 Set-AmsNetId | Set-AmsNetId SYNOPSIS Sets the AmsNetId of a device. SYNTAX NetId (Default) Set-AmsNetId [[-Target] ] [-NewId] [-Timeout ] [-Force] [-WhatIf] [-Confirm] [ ] Route Set-AmsNetId [-NewId] [-InputObject] [-Timeout ] [-Force] [-WhatIf] [-Confirm] [ ] AddressStr Set-AmsNetId [-NewId] [-Address] [-Timeout ] [-Force] [-WhatIf] [-Confirm] [ ] Session Set-AmsNetId [-NewId] -Session [-Timeout ] [-Force] [-WhatIf] [-Confirm] [ ] SessionId Set-AmsNetId [-NewId] -SessionId [-Timeout ] [-Force] [-WhatIf] [-Confirm] [ ] DESCRIPTION This Cmdlet configurates the AmsNetId (TargetNetId) of a device.
A reboot is necessary after configuration (e.g. with 'Restart-AdsComputer') To contact the target system, it must be available as actual route. All actual connections to that systems via ADS are not valid anymore after calling this Cmdlet. EXAMPLES Example 1 PS> Set-AmsNetId -NewId 1.1.1.1.1.1 Changeing AmsNetId of target system. Change the NetId of system '192.168.0.2.1.1' to '1.1.1.1.1.1' [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y Changing the NetId of system '192.168.0.2.1.1' to '1.1.1.1.1.1' is succeeded. All preexisting connec tions to this system a invalid now. A reboot of this system is necessary!
Sets the AmsNetId of the Local system to '1.1.1.1.1.1'. TE1000 55 Version: 1.5.0