Door deze site te gebruiken, u gaat akkoord met de Privacybeleid.
Accepteren
EnterinITEnterinITEnterinIT
  • THUIS
  • IT-PRO
  • TECH
  • MICROSOFT
    • Azuur
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Kantoor 365
    • Kantoor insider
    • PowerBI
    • Skypen
    • SQL-server
    • Teams
  • VENSTERS
    • Windows-beheercentrum
    • Windows-client
    • Windows-server
  • SCCM-queryverzamelingslijst
Lezing: PowerShell all groups user is a member of
Lettergrootte wijzigenAa
EnterinITEnterinIT
Lettergrootte wijzigenAa
  • THUIS
  • IT-PRO
  • TECH
  • MICROSOFT
  • VENSTERS
  • SCCM-queryverzamelingslijst
Zoekopdracht
  • THUIS
  • IT-PRO
  • TECH
  • MICROSOFT
    • Azuur
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Kantoor 365
    • Kantoor insider
    • PowerBI
    • Skypen
    • SQL-server
    • Teams
  • VENSTERS
    • Windows-beheercentrum
    • Windows-client
    • Windows-server
  • SCCM-queryverzamelingslijst
Het pro

PowerShell all groups user is a member of

Gepubliceerd februari 18, 2024
1 Min. gelezen
DEEL

PowerShell all groups user is a member of.

1. Open Powershell (in elevated mode);

OPMERKING: You must open the Powershell ISE with a user account that has the right to query the AD you are connected to.

2. Paste in the next code:

dsquery user domainroot -samid USER | dsget user -memberof | sort

OPMERKING: If you have an updated Powershell with AD Powershell Tools installed you can also run the following instead

Get-ADUser USER -Properties memberof | select -expand memberof | sort

3. Change USER to users logon ID and run;

OPMERKING: Just make sure the USER is replaced with the user’s login account ID, ie if their login is like domain\username …. replace the USER in the script with the username and then run.

GETAGD:Active DirectoryMicrosoft Windows-serverPowerShell
Vorig artikel Configuration Manager Queryverzamelingslijst SCCM KB4500571 current branch 1902
Volgend artikel Reset or Restore Task Manager to Default Settings in Windows 10: Stapsgewijze gids
Laat een reactie achter Laat een reactie achter

Laat een reactie achter Antwoord annuleren

Uw e-mailadres wordt niet gepubliceerd. Verplichte velden zijn gemarkeerd *

Deze site gebruikt Akismet om spam te verminderen. Ontdek hoe uw reactiegegevens worden verwerkt.

Vertaling

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
 Vertaling bewerken
door Transposh - Vertaalplugin voor Wordpress

Populaire berichten

Systeemvereisten voor Windows Server 2016
Windows-server
Configuration Manager Queryverzamelingslijst
Configuration Manager Queryverzamelingslijst
ConfiguratieMgr
Gestructureerde/beheerde navigatie ingeschakeld op moderne pagina's in klassieke teamsites
Technologie
SCCM Kan DP-locaties niet ophalen als de verwachte versie van MP
ConfiguratieMgr

Recente berichten

Fail2ban installeren en configureren voor SSH-bescherming op Ubuntu 24.04
Linux
FirewallD inschakelen en configureren op AlmaLinux
Linux
Gebruikers aanmaken en SSH-sleutel instellen in AlmaLinux
Linux
Hoe het wachtwoord op AlmaLinux opnieuw in te stellen
Linux

© 2023 EnterinIT

Ga naar mobiele versie
advertentiebanner
Welkom terug!

Log in op uw account

Gebruikersnaam of e-mailadres
Wachtwoord

Wachtwoord vergeten?