mikefrobbins.com
open-menu closeme
Home
About
mikefrobbins.com
twitter github linkedin rss
  • Use PowerShell to Determine the PDC Emulator FSMO Role Holder in your Active Directory Forest Root Domain

    calendar Mar 20, 2014 · Active Directory PowerShell  ·
    Share on: twitter facebook linkedin copy

    Each domain has a PDC emulator FSMO role so how do I determine which domain controller holds the PDC emulator FSMO role in the forest root domain if I have multiple domains in my forest? Sounds like you can't see the forest root for the trees :-). The answer of course is with PowerShell: 1Get-ADForest | 2Select-Object …


    Read More
  • Add an Active Directory User to the Same Groups as Another User with PowerShell

    calendar Jan 30, 2014 · Active Directory PowerShell  ·
    Share on: twitter facebook linkedin copy

    A request has been received to grant additional permissions to an existing user in your organizations Active Directory environment. The username of this existing user is frank0. In additional to his current responsibilities, Frank will be taking on the responsibilities of Alan who goes by the username of alan0. Note: …


    Read More
  • Setting an Active Directory User Account to Expire at a Specific Time of Day with PowerShell

    calendar Dec 12, 2013 · Active Directory PowerShell  ·
    Share on: twitter facebook linkedin copy

    Notice that in Active Directory Users and Computers (ADUC) when setting the expiration of a user account, there's only a way to have the account expire at the end of a specific day: The same option exists in the Active Directory Administrative Center (ADAC): In ADAC, you can see the PowerShell command that the GUI uses …


    Read More
  • PowerShell Script to Determine What Device is Locking Out an Active Directory User Account

    calendar Nov 29, 2013 · Active Directory PowerShell  ·
    Share on: twitter facebook linkedin copy

    I recently received a request to determine why a specific user account was constantly being locked out after changing their Active Directory password and while I've previously written scripts to accomplish this same type of task, I decided to write an updated script. Active Directory user account lockouts are …


    Read More
  • Lock Out Active Directory User Accounts with PowerShell

    calendar Nov 28, 2013 · Active Directory PowerShell  ·
    Share on: twitter facebook linkedin copy

    As I'm sure you're aware, there's no setting where you can simply flip a switch to lock out Active Directory user accounts. So what is one to do if you need some locked out accounts to do testing with? Disclaimer: All data and information provided on this site is for informational purposes only. Mike F Robbins …


    Read More
  • Windows 8.1 RSAT PowerShell Cmdlets Get-ADUser & Get-ADComputer : One or more Properties are Invalid

    calendar Nov 7, 2013 · Active Directory PowerShell  ·
    Share on: twitter facebook linkedin copy

    I saw a tweet yesterday from Chris Duck about a PowerShell version 4.0 bug: The issue occurs when you try to use the Get-ADUser or Get-ADComputer cmdlets along with specifying the Properties parameter with the asterisk "*" wildcard character to select all of the properties. No issue when the client is running …


    Read More
  • PowerShell Function to Determine the Active Directory FSMO Role Holders via the .NET Framework

    calendar Apr 18, 2013 · Active Directory PowerShell  ·
    Share on: twitter facebook linkedin copy

    Last week I posted a PowerShell function to determine what Active Directory domain controllers held the FSMO roles for one or more domains and forests. That particular function used the Get-ADDomain and Get-ADForest cmdlets which are part of the Active Directory PowerShell module. As it so happens, a friend of mine, …


    Read More
  • Use PowerShell to Find Where the Current FSMO Roles are Assigned in Active Directory

    calendar Apr 11, 2013 · Active Directory PowerShell  ·
    Share on: twitter facebook linkedin copy

    A while back, I had a need to figure out with PowerShell what server in an Active Directory domain held the PDC Emulator FSMO Role. I found a script on a very popular blog site that figured it out by using a command similar to this: 1Get-ADDomainController -Filter * | 2Where-Object OperationMasterRoles -contains …


    Read More
  • Use PowerShell to add an additional Domain Controller to an existing Windows Server 2012 Active Directory Domain

    calendar Mar 14, 2013 · Active Directory PowerShell Server Core Windows Server 2012  ·
    Share on: twitter facebook linkedin copy

    Recently, I decided to add a second domain controller to my mikefrobbins.com domain. The existing server and this new server that will become a domain controller both run the Microsoft Windows Server 2012 operating system and both were installed with the default installation type of server core (no GUI). Even though …


    Read More
  • Use PowerShell to Create Active Directory User Accounts from Data Contained in the Adventure Works 2012 Database

    calendar Oct 30, 2012 · Active Directory PowerShell SQL Server  ·
    Share on: twitter facebook linkedin copy

    This past Saturday, I presented a session at PowerShell Saturday 003 in Atlanta. Towards the end of the presentation, I created 290 Active Directory user accounts by using the information for employees contained in the Adventure Works 2012 database. This is actually a PowerShell script that I whipped up Friday night at …


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • »
    • »»

Mike F. Robbins photo

Mike F. Robbins

Scripting | Automation | Efficiency
Read More

Disclaimer

All information and code on this site is for informational purposes only and provided as-is. This site does not provide any warranty, either express or implied. All thoughts and opinions are my own.

Recent Posts

  • Generating PowerShell module documentation with platyPS
  • Use symlinks to version-control your PowerShell profile with Git
  • Navigating the Nuances of PowerShell Syntax with Get-Help and Get-Command
  • Building and Deploying a Blog with Hugo and GitHub Pages
  • Automatically convert a PowerShell command to use splatting
  • Securing API Keys with PowerShell Secrets Management in Azure Key Vault
  • Configure Azure PowerShell upgrade notifications
  • Create Calculated Properties in PowerShell with Select-Object, Format-Table, and Format-List

Categories

POWERSHELL 342 ACTIVE-DIRECTORY 34 SCRIPTING-GAMES 32 SQL-SERVER 20 DESIRED-STATE-CONFIGURATION 18 AZURE 12 HYPER-V 10 VSCODE 9 LINUX 8 POWERSHELL-SUMMIT 8 IIS 6 OFFICE-365 6 PESTER 6 AZURE-POWERSHELL 5 GIT 5 WINDOWS-10 5 ARCOLINUX 4 AST 4
All Categories
ACTIVE-DIRECTORY34 ALTARO-VM-BACKUP2 APPASSURE1 APPLICATION-INSIGHTS1 ARCOLINUX4 AST4 AWS1 AZURE12 AZURE-POWERSHELL5 CENTOS1 CROSS-PLATFORM1 DEBIAN1 DESIRED-STATE-CONFIGURATION18 DHCP-SERVER2 EXCHANGE-SERVER2 EXCHANGE-SERVER-20102 GIT5 GITHUB-PAGES1 GROUP-POLICY1 HARDWARE1 HUGO3 HYPER-V10 IIS6 LINUX8 MACOS3 MARKDOWN1 MICROSOFT-SQL-SERVER3 NANO-SERVER1 OFFICE-3656 OPERATIONAL-VALIDATION4 PACMAN1 PAMAC1 PARU1 PESTER6 PLASTER2 POWERSHELL342 POWERSHELL-CORE3 POWERSHELL-STUDIO1 POWERSHELL-SUMMIT8 POWERSHELL-WEB-ACCESS1 RASPBERRY-PI1 REGULAR-EXPRESSIONS1 SAPIEN-TECHNOLOGIES3 SCRIPTING-GAMES32 SERVER-CORE2 SQL-SERVER20 STORAGE-AREA-NETWORK2 TRAINING-VIDEOS4 UBUNTU1 VERSION-CONTROL4 VIRTUALIZATION1 VSCODE9 VWORKSPACE1 WINDOWS1 WINDOWS-105 WINDOWS-81 WINDOWS-8.11 WINDOWS-SERVER-2003-R21 WINDOWS-SERVER-20081 WINDOWS-SERVER-2008-R21 WINDOWS-SERVER-20123 WINDOWS-SERVER-2012-R22 WINDOWS-SERVER-20161 WINDOWS-SERVER-20192
[A~Z][0~9]

Tags

POWERSHELL 335 ACTIVE-DIRECTORY 32 SCRIPTING-GAMES 30 SQL-SERVER 21 DSC 19 DESIRED-STATE-CONFIGURATION 18 AZURE 12 HYPER-V 11 VIDEO 11 PESTER 10 VSCODE 9 AST 8 LINUX 8 POWERSHELL-VERSION-5 8 GIT 6 IIS 6 OFFICE-365 6 POWERSHELL-SCRIPT-MODULE-DESIGN 6
All Tags
ACTIVE-DIRECTORY32 ALTARO-VM-BACKUP2 APPASSURE1 APPLICATION-INSIGHTS1 ARCOLINUX4 AST8 AWS1 AZ1 AZURE12 AZURE-POWERSHELL5 AZURERM1 CENTOS1 CROSS-PLATFORM1 DEBIAN1 DEDUPLICATION1 DESIRED-STATE-CONFIGURATION18 DHCP1 DHCP-SERVER2 DSC19 EQUALLOGIC1 EXCHANGE-20101 EXCHANGE-SERVER2 EXCHANGE-SERVER-20101 GIT6 GITHUB4 GITHUB-ACTIONS1 GITHUB-CLI1 GITHUB-PAGES1 GROUP-POLICY1 HARDWARE1 HUGO3 HYPER-V11 IIS6 LINUX8 MACOS3 MARKDOWN2 NANO-SERVER1 NIMBLE1 OFFICE-3656 ONEGET5 OPERATION-VALIDATION-FRAMEWORK1 OPERATIONAL-VALIDATION4 PACMAN1 PAMAC1 PARU1 PESTER10 PLASTER2 POWERSHELL335 POWERSHELL-CORE3 POWERSHELL-SCRIPT-MODULE-DESIGN6 POWERSHELL-STUDIO1 POWERSHELL-SUMMIT6 POWERSHELL-VERSION-58 POWERSHELL-WEB-ACCESS1 POWERSHELLGET2 PRODUCTIVITY-HACKS1 PSBLOGWEEK1 RASPBERRY-PI1 REGULAR-EXPRESSIONS1 SAN2 SCRIPT-ANALYZER1 SCRIPTING-GAMES30 SERVER-CORE2 SOURCE-CONTROL4 SQL-SERVER21 STORAGE-AREA-NETWORK2 UBUNTU1 VERSION-CONTROL4 VIDEO11 VISUAL-STUDIO-CODE3 VSCODE9 VWORKSPACE1 WINDOWS1 WINDOWS-106 WINDOWS-82 WINDOWS-8.11 WINDOWS-SERVER-2003-R21 WINDOWS-SERVER-20124 WINDOWS-SERVER-2012-R21 WINDOWS-SERVER-20192 WMI2
[A~Z][0~9]
mikefrobbins.com

Copyright  MIKEFROBBINS.COM. All Rights Reserved

to-top