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
Use the PowerShell Cmdlet Set-ADUser to change user attributes in Active Directory. With Set-ADUser you can: – Change attributes of a single user – Change attributes of several prefiltered users – Bulk Change attributes with a CSV file
Active Directory offers you many different ways of authentification. Most common are NTLM and Kerberos. This article is about how to read the Kerberos Token with .Net classes in PowerShell. The script get-sids-from-token.ps1 shows you how this can be done practically. To make it easier to understand, the article starts with an introduction to Kerberos […]
- 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
- Mobile Video Streaming Server with Windows 10
- AD Administration in the new Azure Portal
- Novell Migration: Migrate Critical Legacy Applications with OpenLDAP Proxy