Skip to main content

65.014 Windows Server: Get a list of Active Directory users using PowerShell

Docs

Document Control 

Document Name 

65.013 Set up014 Windows 11Server: withoutGet interneta connectionlist of Active Directory users using PowerShell

Version 

v1.0 Current

Author 

Neil Tancock, IT Services (Safeharbour Support Ltd), neil@safeharboursupport.com 

Approval 

Safeharbour Support 

Approval date 

01-JAN-2025 

Review date 

31-DEC-2027 

Absract 

None

Scope 

This document applies to all clients of Safeharbour Support Ltd

Inputs 

None 

Outputs 

None

 

Change Control 

Date 

Author 

Version 

Change 

02-DEC-2024 

Neil Tancock 

0.0 

First version

01-JAN-2025 

Neil Tancock 

1.0 

Approved 


--------------------------------------------<START OF DOCUMENT> -------------------------------------------- 


For those that needBrowse to setupOU Winin 11Users without& anComputers

internet

Right-click connection,OU herefolder isand howchoose properties
Click on Attribute editor tab and find distinguishedName record
Double click the record to doopen it:

it
  • Onand then copy the setupcontents screen where it asks you to connect toof the internet,record

    Start press- ShiftPowerShell

    +

    Right-click F10PowerShell toand bringchoose uprun theas commandadministrator

    prompt.
  • Get-ADUser

  • OOBE\BYPASSNRO-Filter [ENTER]
  • *

-SearchBase "<REPLACE THIS WITH THE TEXT YOU COPIED>" -Properties * | Export-Csv "c:\ADUsers.csv"

The systemlist will restartbe andin youc:\ADUsers.csv

will

 see an option to continue without internet connection

--------------------------------------------<END OF DOCUMENT> -------------------------------------------- 

Need help?  Get in touch!

You can call us on 01752 373000, option 2 or, if you are on Number Club, just call extension 3001

You can email us at hub@safeharboursupport.com

You can chat & Collaborate with us at https://kite.wildix.com/nc-a12/3001

You can Whatsapp us right here: https://wa.me/441752373000