2/20/2023 0 Comments Get share permissions powershell![]() ![]() New-Share Ĭreate new share, either on local or remote PC. Functions: New-ShareĬreates a new Share on local or remote PC. New-SecurityDescriptor is used by New-Share to combine the ACE's into a SecurityDescriptor for the WMI Method. New-ACE is for creating one or more ACEs for use with New-Share ![]() They support remote creation and multiple permissions. I Created these functions that uses the Win32_Share class of WMI. I found some examples and help in vbscript, so i decided to make some powershell functions of my own. I tried to find an answer for him, but could not really find any examples, cmdlets or functions for it. Last week, i was teaching a Powershell course (MOC6434), when a student asked me, how to create a share with custom permissions via WMI. ![]() Download “NewShareWithPermissions-0.0.1.zip” newsharewithpermissions-001.zip – Downloaded 2176 times – 2 KB Intro: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |