2014-10-29 11:55 AM - edited 2015-12-18 01:08 AM
When using SMO via the CLI (on either Windows or Linux), you can run the command "smo operation list -profile <profileid>". This appears to list ALL operations run against the named profile since it's creation.
Does anyone know if there is a way to prune this list?
At the time I discovered this list, the profile was set to not retain operation history (via the GUI). Thinking that maybe it retains ALL operations unless you define a retention policy, I went ahead and setup a retention policy. However, that setting appears to have no affect on this particular list.
I am working on some automation tasks and would like to use the output from this list to help with determining current operations. However, the command takes a bit longer to run than I would like since it's listing ALL operations for the last 1.5 years.