-
Notifications
You must be signed in to change notification settings - Fork 0
Test WritePermission
Mateusz Czerniawski edited this page Feb 20, 2018
·
3 revisions
PPoShTools -> Test-WritePermission.ps1
Tests if it's possible to create file in given location (path)
Test-WritePermission [-Path] <String[]> [<CommonParameters>]
Creates a random file in given location. Deletes if it was created. Returns Boolean True or False
Location where test write should occur
- PipelineInput: false
- Required: true
Test-WritePermission -Path c:\SomePath
Will create random file in given location. Will return True or False