locked
Get-ChildItem : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters RRS feed

  • Question

  • Please use \\?\UNC\(your share path)..

    Example: 

    $Path = Servername\sharefolder

    Get-Childitem -Literalpath \\?\UNC\$Path -Recurse 

    • Moved by Bill_Stewart Tuesday, May 8, 2018 7:05 PM Not a question
    Tuesday, March 13, 2018 4:37 PM

All replies