Creating a new user in Active Directory is a routine task for IT-administrators. However, often it is not the only requirement as the new user may also need permissions, access rights and a home directory. In this article, I will show you how to set up appropriate permissions for users with the help of PowerShell.
Passwords have always been a popular topic for discussion in IT security. What are the guidelines? Which characters have to be included? How often do you have to change it? What about the procedure if you forget your password?
To create a list of all subnets belonging to an AD site requires a lot of manual work, especially as the environment gets larger. However, there is of course another way to retrieve Active Directory subnets with PowerShell.
An experienced AD administrator uses the PowerShell cmdLets „Get-ADUser“ and „Set-ADUser“ for many automated processes in the domain.
In this article, I will explain how to set up a connection with Azure. Moreover, I aim to clarify and give helpful advice on how to connect with Azure Subscription via PowerShell. To begin with, it is important that you distinguish what you want to connect with: Is it Azure Subscription or Azure Active Directory?
Find out how to create clearly laid out CSV files with the help of PowerShell scripts: use PowerShell Custom Objects combined with Export-csv commandlet.
A customer approached us and asked for a “Logon script” based on PowerShell. Unfortunately the script was not executed during login. The reason for this error was a new Group Policy.
The PowerShell function “IsMember” checks if the user who runs the PowerShell script is a member of a certain group. This has advantages compared to using Active Directory Service Interfaces (ADSI).
After a successful migration you have to remove Foreign Security Principals from the domain local groups. This article is all about a simple task that turned out to be a challenge: Basics of Foreign Security Principals (FSP) First you make a trust between two domains or two forests. Second you can access the resources […]
Group Management in Active Directory can be eased by using PowerShell. This time I want to explain the basic ADGroup cmdlets. ADGroup Cmdlets are used for: – creating new groups – showing groups and their attributes – changing groups’ attributes
- Nesting groups in Active Directory
- Create home directory and grant permissions with PowerShell
- Creating an individual random password with PowerShell
- Retrieve Active Directory subnets with PowerShell
- Editing users of other domains – with PowerShell
- Azure Basics: Connecting with Azure (PowerShell)
- PowerShell Custom Objects
- Logon Script does not start on Windows Server 2012 R2 domain
- IsMember – Check group membership in Active Directory
- Dynamic OU Groups – Assign Permissions to OUs