asked on
$shares = get-content c:\get-acl.csv
$shareACLs = "c:\shareACLs.csv"
@(foreach ($share in $shares)
{
$share |
select @{Name='ShareDir';Expression={[string]($share)}},@{Name='accessToString';Expression={get-acl $share | select accessToString}}
}) |
export-csv $shareACLs -notype
Windows Server 2008 and Windows Server 2008 R2, based on the Microsoft Vista codebase, is the last 32-bit server operating system released by Microsoft. It has a number of versions, including including Foundation, Standard, Enterprise, Datacenter, Web, HPC Server, Itanium and Storage; new features included server core installation and Hyper-V.
TRUSTED BY
ASKER