beckhoff TE1000 — 6.17 Remove-AdsRemoteItem

TcXaeMgmt Version 7.X | Remove-AdsRemoteItem Example 3 Remove-AdsRemoteItem -Path \TARGETDIR\OldDir -Recurse -NetId "5.80.192.47.1.1" Recursively deletes 'OldDir' on a remote TwinCAT system. PARAMETERS -Path The path of the file or directory to remove on the ADS target. Must include the StandardDirectory prefix (e.g., TARGETDIRsubdirfile.txt). 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 remote file paths on the target TwinCAT system (StandardDirectory hierarchy). Type: String Parameter Sets: (All) Aliases: Required:

True Position: 0 Default value: None Accept pipeline input: False Accept wildcard characters: False -Recurse Recursively delete a directory and all its contents. Required when the target is a non-empty directory. Type: SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False -Quiet Suppresses the confirmation prompt. Type: SwitchParameter Parameter Sets: (All) Aliases: Silent Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False -Force Forces the command without confirmation and resets the FailFastHandler. Type:

SwitchParameter Parameter Sets: (All) Aliases: Required: False Position: Named Default value: False Accept pipeline input: False Accept wildcard characters: False TE1000 91 Version: 1.5.0