![]() ![]() # Samdirectory is the samaccount name with the $ at the end to make hidden share. (Get-WmiObject -List -ComputerName FILESERVER | Where-Object -FilterScript ).InvokeMethod("Create", ("H:\Users\$Sam","$samdirectory",0,100,"$Sam Drive")) please help!! New-Item -ItemType Directory -Path \\FILESERVER\H$\Users\ -Force -Name $Sam Thanks, btw its this difficult (to me) because its a 2003 server that we are retiring later this year (i know shooot me) so it doesnt take the newer CMDLETs. ![]() What do you guys do or use? im so close to having this work except i cant get the user added to the ACL with modify permissions and also want to set "Everyone" to only READ permissions. Two parameters have been added to the - MailboxFolderPermission cmdlets. In another example of a small, but impactful change, Microsoft has started rolling out improvements to the PowerShell cmdlets responsible for folder permissions that will allow us to manage some of the delegate-related settings. i want to set "Modify" permissions on the share for the specified user but i am having difficulty with the solution. Managing Outlook delegates via PowerShell. i can get the share created in the format i need but i cant get the permissions to set properly. The PowerShell script discussed in this post allows you to create a new folder, remove the inherited permissions, and set new permissions for a new Active Directory group. I have been googling around trying to put this script together i have what i want. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |