TcXaeMgmt Version 7.X | Remove-AdsRoute EXAMPLES Example 1 PS> Get-AdsRoute Name NetId Address Sub TcVersion RTSystem ---- ----- ------- --- --------- -------- CP-15ECA0 172.17.62.128.1.1 172.17.62.178 0.0 Unknown TC3TESTA1-CP67X 172.17.62.105.1.1 172.17.62.105 0.0 Unknown PS> Remove-AdsRoute -Name "CP-15ECA0","TC3TESTA1*" Removes the Routes "CP-15ECA0" and "TC3TESTA1-CP67X" from the local system. Example 2 PS> Get-AdsRoute | Remove-AdsRoute -silent Removes all registered routes from the local system. PARAMETERS -Destination The destination address, where to Remove the specified route. This can be the NetId, the HostName or the IPAddress Tab completion:
Completes route names from currently reachable ADS systems on the local TwinCAT system. The destination address Type: IRoute Parameter Sets: (All) Aliases: Required: False Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False -Address The address for the ADS route to remove. This can be the NetId, the HostName or the IPAddress. Wildcards are permitted. Tab completion: Completes route names from remote (non-local) reachable routes. The address. Type: String[] Parameter Sets: Address Aliases: Name Required: True Position: 0 Default value: None Accept pipeline input: False Accept wildcard characters: True -NetId The NetID of the route to remove.
Tab completion: Completes AmsNetId values from remote (non-local) reachable routes. The AmsNetId Type: AmsNetId Parameter Sets: NetId Aliases: Required: True Position: 0 Default value: None Accept pipeline input: False Accept wildcard characters: False TE1000 192 Version: 1.5.0