Hello,
I have two questions dealing with one script. The script I have was written to be successfully used with Windows 2008 R2, but as the servers are being transitioned to Windows 2012 R2, I feel the script needs updated. Currently the script takes a .CSV file and provisions user info. It then creates folders with a new-item -type Directory -path\\Server\User\Folder\ -name $userinfo['name'] and so forth. From here is where my question begins, previously the Dfsutil was used to add the link to the DFS Namespace as such: dfsutil link add\\Domain\User\$($userinfo['name'])\\\\Server\User\Folder\. I was able to do this with the Invoke-Command to the server in question. From there I used icacls to set the acls on the folders. So my two questions are: 1. Is icacls still a valid tool? If not what could I use to do that in powershell? 2. Since dfsutil is gone what DFS powershell command would do the same as the dfsutil did above.
Thanks.
Michael R. Mastro II