protected override void EndProcessing()
{
//make sure it exists
var newPath = WorkingFolder.Combine(Path);
try
{
new CmisNavigation(CmisSession).GetFolder(newPath);
}
catch (CmisBaseException ex)
{
ThrowTerminatingError(new ErrorRecord(ex, "InvalidCmisDirectory",
ErrorCategory.ObjectNotFound, newPath));
}
SetWorkingFolder(newPath);
WriteObject(newPath.ToString());
}
}