#Test shared path is exist or correct
Test-Path "C:\Users\john\script\"
# Using the Get-ChildItem Cmdlet
#Replicating (and Extending) the DIR Command
#In its basic form the Get-ChildItem cmdlet provides functionality similar to the dir command.
GCI "C:\Users\john\script\"
Get-ChildItem -recurse
Get-ChildItem env:
#Retrieving the Security Descriptor for an Object
#The Get-Acl cmdlet enables you to retrieve the security descriptor (access control list) for a file, a folder, or even a registry key
Get-Acl "C:\Users\john\script\" | Format-List
acl "C:\Users\john\script\"Test shared path is exist or correct, Using the Get-ChildItem Cmdlet - get child items for given path, retrieving the Security Descriptor for an Object
