Hello,
Actually i wrote script to gather all computer which i need to continue actions from AD security groups. After that i need recurse all directories in that computers.. But still not E drive found. Why? actually it is exist on that.
$directory = "E:\"
$sccm = (get-adgroupmember gPEUT-SCCM2012R2Servers | select name).name
Invoke-command -ScriptBlock {
Foreach ($a in $sccm)
{
Get-ChildItem $a -Path $directory -recurse
}
}