For additional logging use the -verbose parameter. If you want to write output to a file, the following syntax can be used:
Remove-TcmItemsOldVersions [parameters] > path_to_file or Remove-TcmItemsOldVersions [parameters] >> path_to_file Note, ">" deletes existing file content, ">>" does not delete existing file content.
For more information about what is possible, try the following in Powershell. > PS C:\Users\Administrator>Update-Help > PS C:\Users\Administrator> help about_Redirection > about_Redirection.txt
Also you can get additional info from traces using Start-TcmTracing command.
|