locked
Pathtoolongexception RRS feed

  • Question

  • Hi,

    I have the following line in a script and I'm getting the error: pathtoolongexception (in windows server 2012 datacenter)

    Get-ChildItem k: -Recurse | where-object {($_.PsIsContainer)} | get-acl | format-list > c:\scripts\permission.txt

    Can anybody tell me how I can avoid this error?

    Thanks in advance.

    Regards.

    Wednesday, May 13, 2015 2:28 PM

Answers

All replies