• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

danblee.com

Tutorials & Knowledge Base Articles for System Administrators who wear many, many hats.

  • Home
  • About
  • Ask Me
  • DBLHost.com
You are here: Home / Archives for CMDlet

CMDlet

Get-ADUser Extended and Default Properties

March 28, 2017 by Dan B. Lee Leave a Comment

Here's a big list of all of the properties that you could apply to the Get-ADUser cmdlet in Powershell: Property Syntax R/RW lDAPDisplayName AccountExpirationDate DateTime RW accountExpires, converted to local time AccountLockoutTime DateTime RW lockoutTime, converted to local time AccountNotDelegated Boolean RW userAccountControl (bit mask 1048576) AllowReversiblePasswordEncryption Boolean RW userAccountControl (bit mask … [Read more...] about Get-ADUser Extended and Default Properties

Filed Under: Microsoft Windows, PowerShell Tagged With: attributes, CMDlet, get-aduser, properties, Pwershell

PowerShell – Export Enabled Users and other Data from Active Directory

March 7, 2017 by Dan B. Lee 1 Comment

I made a script that does a few things: Gets all users that are enabled Creates a table, listing all the the users with a few account details I want Export the table to a .csv file with a unique name, appending the date the export happens Here's the whole thing. I'll explain what it does at the bottom: Import-Module ActiveDirectory # All of the properties you'd like to pull from Get-ADUser $properties=@( 'displayname', 'lastlogondate', 'passwordneverexpires', … [Read more...] about PowerShell – Export Enabled Users and other Data from Active Directory

Filed Under: Microsoft Excel, Microsoft Windows, PowerShell, Uncategorized Tagged With: Active Directory, CMDlet, Get-User, Last Logon, Password Set To Expire, PowerShell, Scripting

Primary Sidebar

Categories

  • Active Directory
    • Group Policy
  • Adobe Photoshop
  • Browsers
    • Chrome
  • Cloud Based Technology
    • Citrix XenApp
  • ConnectWise
    • LabTech
  • Dell
  • Internet Service Providers (ISPs)
  • iPhone
  • Linux
    • CentOS
    • OpenVPN
    • SaltStack
    • Ubuntu
  • Microsoft Office
    • Lync
    • Microsoft Excel
    • Microsoft Outlook
    • Microsoft Word
  • Microsoft Windows
    • Active Directory
    • PowerShell
    • Windows 7
    • Windows 8 Preview & Release
  • Networks
  • News
  • Off Topic
  • Office 365
  • Peripherals
    • Monitors
  • Printers
    • Local Printers
    • Network Printers
  • Programming
    • Python
  • Riverbed
  • Security
  • Sharepoint
  • Social Media
  • Splunk
  • Storage
  • Switching & Routing
    • Cisco
    • Fortinet
  • Technology Culture
    • Opinion
  • Uncategorized
  • Virtualization
    • VEEAM
    • VMware
  • WAMP
  • Web Hosting
    • WHMCS
  • Website Design
  • Windows Server
    • Exchange 2003
    • Exchange 2010
    • Exchange 2013
    • Microsoft SQL
    • Windows Server 2003
    • Windows Server 2008 R2
    • Windows Server 2012
  • WordPress

Footer

Recent Activity

  • pings on Xerox Phaser 3635MFP Default Admin Username and Password
  • Xerox Phaser 3635MFP Default Admin Username and Password — danblee.com on About Dan B. Lee
  • Estudio Login | LOGINEGG on Toshiba E-Studio Default Administrator Username and Password
  • Estudio Login | LOGINSPENT on Toshiba E-Studio Default Administrator Username and Password
  • Estudio Login | CHARTLOGIN on Toshiba E-Studio Default Administrator Username and Password

Dan Lee

Dan B. Lee works at SyApps, LLC., a Managed Hosting Solutions Firm, as a Senior Network Engineer. Dan has a decade of IT experience and specializes in a number of different disciplines including Virtualization, Web Site Hosting and Design, Network Security, Data Center Architecture, Local and Remote Server Hosting, and Backup & DRS Solutions. Read More…

Links

  • Home
  • About Dan B. Lee
  • Ask Me
  • Privacy Policy

Copyright © 2021 · Genesis Child Theme on Genesis Framework · WordPress · Log in