Last active
December 16, 2015 16:26
-
-
Save jacksoneyton/7bf081776aedb66b76aa to your computer and use it in GitHub Desktop.
PoSH Folder from AD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-Module ActiveDirectory $InternalADUsers = Get-ADGroupMember -Identity Internal | select-object -ExpandProperty SamAccountName #foreach {$_.SamAcountName} Foreach ($I in $InternalADUsers) { $SignaturesPath = "S:\Signatures\$I" write-host "$SiganturesPath" #if(Test-Path = $SignaturesPath) # { # Write-Host "$SignaturePath exists" # } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment