hello
i need to add the site name next to the author output:
foreach ($SiteAuthor in $Site.SiteAuthors)
{
cNTFSPermission ($FQDN + "_SiteAuthor_" + $SiteAuthor)
{
Ensure = "Present"
Account = domain\$SiteAuthor"
Access = "Allow"
Path = "D:\inetpub\$FQDN"
Rights = "FullControl"
DependsOn = "[File]$Folder_Root_Resource"
}
$SiteAuthor | Out-File -FilePath "$($Node.Role)-Authors.txt" -Append
right now i just get a list of usernames.
thanks