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 […]
Use the PowerShell Cmdlet Get-ADUser to display user accounts in Active Directory. With Get-ADUser you can: – Set filters – Show specific attributes – Export results in a CSV-file
I am currently supporting a bigger enterprise with their Active Directory Migration. A colleague asked me “Could you write a Powershell script to comb the whole AD Forest?” “Of course”, I said. 😉 And here it is – the script to find the next closest domain controller.
In this small series, I want to introduce the most common Active Directory PowerShell cmdlets to you like New-ADUser. With the cmdlet New-ADUser you can: – Create new users, – Add passwords or – Bulk create users with a csv-file
Sometimes it can be necessary to change the network structure of the virtual machines in Azure, e.g. to move VMs into a virtual network for the setting up of VPNs. To do so, the internal, static IP of the respective VMs needs to be changed.
With Microsoft Azure you can set up virtual machines with a great range of operating systems quickly and easily. For the administration, Microsoft Azure offers a Web Management interface. But Azure PowerShell cmdlets are even more interesting for assembling individual script libraries. Use these scripts to install virtual machines comfortably.
I thought about how to automate AD sites with PowerShell – and found a solution. At the end of this article, I provide a complete script to create sites in Active Directory with a CSV-file. The article includes detailed explanation, screenshots and examples.
Many know that you can use .Net-classes in Powershell directly. These are then compiled into terms. But what many do not know is that it is also possible to use “pure” .Net code in Powershell. – It works like this:
- PowerShell: Find active computer objects
- 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