The following example updates an existing file system task output target.



Code Sample

# Updates the file system task output target with the specified identifier.

$target = $administration.GET_TaskOutputTarget("ef2523e2-b305-4915-a679-f191be790d5d");

$target.DisplayName = "Updated File System Task Output Target";

$target.Path = "D:\Data\TaskOutput";

$administration.SET_TaskOutputFileSystemTarget($target);