Updating a script with new commands


hello,

   have 2 questions dealing 1 script.  script have written used windows 2008 r2, servers being transitioned windows 2012 r2, feel script needs updated.  script takes .csv file , provisions user info.  creates folders new-item -type directory -path \\server\user\folder\ -name $userinfo['name'] , forth.  here question begins, dfsutil used add link dfs namespace such: dfsutil link add \\server\user\folder\.  able invoke-command to server in question.  there used icacls set acls on folders.  2 questions are: 1. icacls still valid tool?  if not use in powershell?  2. since dfsutil gone dfs powershell command same dfsutil did above.

thanks.


michael r. mastro ii

actually none of has with  scripting.

when provision user let gp create , mange redirected folders.  has been case since ws2003.  doing cobbled script counter-productive , hard manage.

please take time review how windows designed mange user profiles , dat through gp.  wil find less complicated making it.

post in gp forum assistance in how use windows in modern system.  save lot of time , headaches.


¯\_(ツ)_/¯



Windows Server  >  Group Policy



Comments

Popular posts from this blog

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS