Forum Discussion
display Versionnumber in Files (Word ...)
Hello everyone, I hope someone can help me with my problem.
I have been given the task of displaying the version number in Word documents. Without Powershell this works without any problems.
Activated the Library and Folder Based Retention Site Collection feature
Checked "Enable Labels" in the Information Management Policy Settings for the Document Content Type, and entered "{Version}" into the Label format field
Created a Word document in my library
Opened the document in Word, and inserted a Quick Part (Document Property > Label)
But I have to roll it out to all SharePoint sites in the tenant, so I have to implement it programmatically somehow.
Does anyone have any idea how I can do it with Powershell, unfortunately I can't find anything on the internet after a long search.