• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 476
  • Last Modified:

Powershell Addins for filemanagment

Hey

Powershell Addins for filemanagment...

Mike
0
mikeydk
Asked:
mikeydk
  • 2
2 Solutions
 
farazhkhanCommented:
Hi,

You should find script here which may help you to acheive what you need: http://technet.microsoft.com/en-us/scriptcenter/ee861518

Regards,
Faraz H. Khan
0
 
Chris DentPowerShell DeveloperCommented:

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?

Chris
0
 
mikeydkAuthor Commented:
Hey

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

Thanks in advance.

Mike
0
 
Chris DentPowerShell DeveloperCommented:
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?

Chris
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now