FSO directory - Set specific word document properties using PowerShell RRS feed

  • Question

  • Hi there,

    I was looking for a way to set properties to my word document. I found this post.

    After testing the script, I realize that I must put my word document to the path "C:\fso" if I want to set it properties.
    I tried to modify the path to another folder in my documents for example, but it doesn't work.

    Impossible to set the properties if my word document is not in "C:\fso".

    Any idea why ?

    Regards, Scanta

    Problem solved :

    If you don't open AND modify the .docx created, the script will not affect the properties of the document.
    So ... I can now choose the folder I want.

    • Edited by Scanta Tuesday, September 2, 2014 8:17 AM
    Tuesday, September 2, 2014 7:12 AM


  • Hi Scanta,

    I’m glad to hear that you got it working.

    Thank you for sharing your solutions & experience here. It will be very beneficial for other community members who have similar questions.

    If you want to receive more information about this issue, you can post this question in PowerShell forum.


    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

    Best regards,

    Greta Ge
    TechNet Community Support

    It's recommended to download and install Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office programs.

    • Marked as answer by Greta Ge Tuesday, September 9, 2014 2:11 AM
    Wednesday, September 3, 2014 6:33 AM