Files
admin-powershell/powershell/POWERSHELL.md
2025-07-16 09:37:46 +02:00

23 lines
602 B
Markdown

# Powershell
## `add-usertogroupwithlicense.ps1`
This script is used to add a user to a license group and an application group in the local active directory.
### Usage
```powershell
.\add-usertogroupwithlicense.ps1
```
### Variables
- `dn`: The domain name of the local active directory.
- `license_group`: The name of the license group.
- `application_group`: The name of the application group.
- `user`: The name of the user to add to the groups.
## `add-usertogroupwithlicense.ps1`
This script is used to add a user to a license group and an application group in the local active directory.