Powershell Addins for filemanagment

Posted on 2011-05-04
Last Modified: 2012-05-11

Powershell Addins for filemanagment...

Question by:mikeydk
    LVL 21

    Assisted Solution


    You should find script here which may help you to acheive what you need:

    Faraz H. Khan
    LVL 70

    Expert Comment

    by:Chris Dent

    You're going to have to be a bit more specific. What kind of file management do you have in mind? What kind of problems are you facing?


    Author Comment


    I would like to take owner ship, replace rights, inherit, and so on... over network (share)

    Thanks in advance.

    LVL 70

    Accepted Solution

    Take Ownership is the hardest of those, PS can't do it in any meaningful way (has trouble obtaining the rights it really needs). As such, you often end up using tools like TakeOwn to handle it.

    Replace rights, inheritance, etc, can be done using Get-Acl and Set-Acl.

    In all cases there's another problem. If your directory structure is deep PS might not be the best thing to use. It inherits a limitation, a bug, from .NET. It cannot handle path lengths greater than 256 (or so) characters (that's full path, not just a folder name). Is that likely to be a problem?


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
    In this previous article (, we made basic license assignments to users in O365. When I say basic, the method is the simplest way …
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now