Skip to content
  • TECH NOTES DESK
  • BLOG
  • BOOK STORE
  • PRIVACY
  • ABOUT
  • TERMS OF USE
Tech Notes Desk
  • BLOG
  • BOOK STORE
  • PRIVACY
  • TECH NOTES DESK
  • TERMS OF USE
  • ABOUT
    • TECH NOTES DESK
    • BLOG
    • BOOK STORE
    • PRIVACY
    • ABOUT
    • TERMS OF USE

    Active Directory

    1. Home>
    2. BLOG>
    3. Active Directory

    Get report on recent password changes in AD

    • Post author:admin
    • Post published:January 20, 2022
    • Post category:Active Directory/Command Line/How-To/PowerShell
    • Post comments:0 Comments

    Here is a quick scrip to pull report on recent password changes for users in Active Directory: Import-Module ActiveDirectory $DateCutOff = (Get-Date).AddDays(-5) Get-ADUser -Filter * -Property passwordlastset | Where-Object {…

    Continue ReadingGet report on recent password changes in AD

    Active Directory DNS Zones explained

    • Post author:admin
    • Post published:November 30, 2021
    • Post category:Active Directory/How-To/Troubleshooting/Windows Server
    • Post comments:0 Comments

    Active Directory depends on DNS for name resolution and locating resources on a network. DNS has a database that maintains resource records, which helps identify various servers, domains, and services…

    Continue ReadingActive Directory DNS Zones explained

    Find which Logon Server you Authenticated to ..

    • Post author:admin
    • Post published:November 28, 2021
    • Post category:Active Directory/How-To/Troubleshooting
    • Post comments:0 Comments

    Sometimes there are situation that you need to troubleshoot Active Directory connectivity and you need to know to which server the user authenticated to. There are few ways to find…

    Continue ReadingFind which Logon Server you Authenticated to ..

    Add SMTP-ProxyAddress to users in AD with PowerShell

    • Post author:admin
    • Post published:September 21, 2021
    • Post category:Active Directory/Command Line/How-To/PowerShell/Tools/Windows Server
    • Post comments:0 Comments

    Here is a quick way to add new SMTP/ProxyAddress for the users in Active Directory with use of PowerShell. Create a csv file with two columns samaccountname | emailaddress john.doe …

    Continue ReadingAdd SMTP-ProxyAddress to users in AD with PowerShell

    PowerShell – AD Group management

    • Post author:admin
    • Post published:September 2, 2021
    • Post category:Command Line/How-To/PowerShell/Windows/Windows Server
    • Post comments:0 Comments

    Here are few quick one liners such as add user to 2 AD groups at same time: "Managers","SalesRep" | Add-ADGroupMember -Members ` (Read-Host -Prompt "Enter User Name") Add multiple user…

    Continue ReadingPowerShell – AD Group management

    Copy Group Members from One group to Another

    • Post author:admin
    • Post published:April 5, 2020
    • Post category:Active Directory/How-To/PowerShell
    • Post comments:0 Comments

    Simple PowerShell script to move members of one group to be also members of new group that you have just created. I am using this very often. It is time…

    Continue ReadingCopy Group Members from One group to Another

    Check if user is member of the group

    • Post author:admin
    • Post published:February 16, 2020
    • Post category:Command Line/PowerShell/Windows Server
    • Post comments:0 Comments

    Here is another quick PowerShell script to check if user is a member of given group. [cc lang="PowerShell"] Clear-Host if (Get-Module -ListAvailable -Name ActiveDirectory) { Import-Module ActiveDirectory } else {…

    Continue ReadingCheck if user is member of the group

    Get Computer Vendor and model via PowerShell

    • Post author:admin
    • Post published:December 3, 2019
    • Post category:Command Line/PowerShell/Tools
    • Post comments:0 Comments

    Simple script to get information via PowerShell from the computer about model of the machine and vendor. Clear-Host Write-Host Write-Host * Get Computer Vendor and Model information * -ForegroundColor white…

    Continue ReadingGet Computer Vendor and model via PowerShell

    Get AD Group Creation Date

    • Post author:admin
    • Post published:December 2, 2019
    • Post category:Active Directory/Command Line/PowerShell/Windows Server
    • Post comments:0 Comments

    Here is quick one liner hot to get a report on when Active Directory group has been created.  This could be asked during audits so here is the PowerShell one…

    Continue ReadingGet AD Group Creation Date

    Get list of Departments and number of users per Department in PowerShell

    • Post author:admin
    • Post published:November 19, 2019
    • Post category:Active Directory/Command Line/How-To/PowerShell
    • Post comments:0 Comments

    I need to create a report from Active Directory. I need to provide list of all Departments and headcount per Department. Here is quick PowerShell that will list all Departments…

    Continue ReadingGet list of Departments and number of users per Department in PowerShell
    • 1
    • 2
    • 3
    • 4
    • Go to the next page

    TAGS
    Active Directory Apple AWS Browser CentOS Chromebook cloud command line Debian Fedora Free Tools Google Apps Google Chrome Google Chromebook Google Drive GP10 Great Plains How To How To Linux Mac MS Office MS Outlook Outlook 2010 PowerShell Raspberry Pi Red Hat SBS2008 Scripting Security Server 2008 Server 2012 Small Business Server 2008 Tools Troubleshooting Ubuntu Windows Windows 7 Windows 8 Windows 8.1 Windows 10 Windows server Windows Server 2012 R2 Windows Server 2016 Windows XP

    Secure your digital life

    Unstoppable Domains for Crypto

    Copyright 2026 - TECH NOTES DESK