NTFS bulk permission problem

By ging_rojas8990 ·
Tags: Windows
Cannot figure out where it is wrong when using this PS.
1) save NTFS bulk permission powershell.ps1 in c:\scripts folder
2) created anotehr file called FolderListfile.txt to call NTFS bulk permission.ps1
The permission can be applied but just always get different errors:

Checking c:\folder1
Test-Path : Cannot bind argument to parameter 'Path' because it is an empty string.
At C:\scripts\BulkSet-NTFSPermissions.PS1:49 char:16
if (Test-Path $Folder)
CategoryInfo : InvalidData: (:) [Test-Path], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.TestPathCommand

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums