TcXaeMgmt Version 7.X | Copy-AdsRemoteItem Copies a local file to another local path (local-to-local copy). PARAMETERS -Path Specifies, as a string array, the path to the files to copy. Wildcard characters are permitted. If this Cmdlet is in Download mode, this is the specifier for the file on the remote side (the specified TwinCAT target system), dependant of the StandardFolder Parameter. In case of 'Uploading' these are the local FullPaths of the file to be 'uploaded' to the TwinCAT target/remote system. ADS path format: [DriveName:]StandardDirectory[RelativePath]. Accepted forms:
bare (TARGETDIRfile.txt), drive-qualified (MyMachine:TARGETDIRfile.txt), or Local alias (Local:TARGETDIRfile.txt). Tab completion: Completes both remote ADS file/directory paths on the target system and local filesystem paths. The source path. Type: String[] Parameter Sets: (All) Aliases: Required: True Position: 0 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: True -Destination The Destination path/specifier, where the file is stored. If the Cmdlet is in Download mode, this has to be the FullPath of the target location. In case of 'Uploading' this can be the FileName or a FullPath dependent of the StandardDirectory Parameter. ADS path format:
[DriveName:]StandardDirectory[RelativePath]. Accepted forms: bare (TARGETDIRfile.txt), drive-qualified (MyMachine:TARGETDIRfile.txt), or Local alias (Local:TARGETDIRfile.txt). Tab completion: Completes both remote ADS file/directory paths on the target system and local filesystem paths. The Destination / Target path. Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False -Force Forces to create the Directory on the target side (and overwrites any preexisting file). The force indicator. Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value:
False Accept pipeline input: False Accept wildcard characters: False -NetId The address (AmsNetId) of the system where the file is Downloaded from / Uploaded to (Default: Local) Tab completion: Completes AmsNetId values from currently reachable routes on the local TwinCAT system. The net id. Type: AmsNetId Parameter Sets: NetId Aliases: Required: False Position: Named Default value: None TE1000 76 Version: 1.5.0