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.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Back to Windows Forum
2 total posts (Page 1 of 1)  

Operating Systems Forums