Can we add a -locktoversion option?
Thanks in advance
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
But how? The only parameters Add-PWDocumentFlatSetMember has to identify the document to add are SetMemberPath and SetMemberName. How can you specify which version/sequence to add?
Ok, I understand what you are looking for now. Let me see what I can do to improve the functionality of the Add-PWDocumentFlatSetMember cmdlet.
Great! As mentionned by Paul above, being able to pass a Document via argument or pipe would probably do the trick for me too. Thanks for looking into this.
Hi Brian, just wondering what is the timeframe for this improvement? I checked all the Change Logs of the newest releases but did not see this improvement mentioned. We are entering a project phase where this would be very handy... just wondering if I will be able to rely on this soon or if I think of something else to implement. Thank you.
I will get this updated for the next build of the PWPS_DAB module. Working on it now.
I have updated the Add-PWDocumentFlatSetMember cmdlet to accept member document objects from the pipeline. Also, updated the LockToVersion option. Should be available in the next release of the PWPS_DAB module.
Perfect! Thanks you so much.