Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
publicScripts/Windows/server/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
24 lines (14 sloc)
638 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Windows Server Scripts | |
## File Server Scripts | |
The following scripts are used for various functions on a windows file server. | |
### [**New-UserShares.ps1**][1] | |
The New-UserShares function will create a shared folder for each user from a specified group. See `Get-Help .\New-UserShares -Full` for more information. | |
**Example:** | |
```powershell | |
.\New-UserShares -GroupName TEST_AD_GROUP -Directory D:\UserShares | |
``` | |
### [**Get-IsGroupMember.ps1**][2] | |
Run this script to check if a user is in a specified group. | |
--- | |
[1]: New-UserShares.ps1 "Create users shared folders" | |
[2]: Get-IsGroupMember.ps1 "Check Group Membership of user" |