2/18/2023 0 Comments Set share permissions powershell![]() ![]() Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. Verify that the service on the destination is running and is accepting requests. I tried Matt's suggestion of Invoke-Command in the comments against a NetApp vFiler and got this error:Ĭonnecting to remote server MYREMOTESERVER failed with the following error message : The client cannot connect to the destination specified in the request. ![]() ![]() I want to do something like: Grant-SmbShareAccess -ComputerName MYREMOTESERVER -Name -AccountName -AccessRight FullĪny ideas on how to do this? My remote server could be a Windows Server or a NetApp vFiler. ![]() I've looked at this page, specifically the command Grant-SmbShareAccess but that cmdlet sets permissions on local shares, I would love to have seen a -ComputerName parameter but, alas, there isn't one. I need to set the share permissions of a remote share from a Powershell 4 script. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |