Can we add a -locktoversion option?
Thanks in advance
Could you give more details on this option you are asking for?
As I know Lock to version option is only in datasource settings and can't remember this option in a Flat Set.
The datasource setting allows you to force this on for all users, but if the datasource setting is off (the default) you can still manually turn it on individually for files/references in a set.
Thanks Kevin. Forgot about those checkboxes in the set.
I've send this request to development team.
This enhancement has been added.
Thanks Brian - the cmdlet is a bit clunky.
Can we feed it a document instead?
eg: add-pwdocumentflatsetmember -Document $doc -locktoversion