locked
restrict file deletion RRS feed

  • Question

  • Can we restrict file deletion in powershell.

    i am using powershell v2

     

    thanks,

    raj

    Monday, January 10, 2011 10:31 AM

Answers

  • Hello Raj,

    Thanks for your post.

    To deal with your issue, I think you can achieve restrict file deletion by granting permissions. You can many choices to do it. You can just grant permissions in the Visual Studio, or use TF Security command line. Or just as you said, you can use powershell to call TFS API to grant these permissions.

    Thanks,


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, January 11, 2011 7:08 AM
    Moderator