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:
A lot of log files need to be analyzed during an Active Directory migration. In case there is a log, you mostly have to write an email, update a database or do something like that. This is a simple example of a PowerShell log file monitoring script for a share:
- 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