Visualizzare gli utenti di una OU e i gruppi a cui appartengono | GOLINE
Goline Logo



  • In the supply and logistics sectors, email communication is pivotal. However, organizations face threats like email fraud and phishing. GOLINE SA's clients struggled with configuring email authentication protocols manually. To address this challenge, GOLINE SA became an MSP Partner of PowerDMARC, collaborating to streamline implementation and management. PowerDMARC's cloud-based platform automated DMARC, SPF, and DKIM protocols for GOLINE SA's clients. This streamlined the transition to DMARC enforcement policies, bolstering domain protection without compromising email deliverability. The intuitive platform facilitated easy navigation and provided detailed reporting for proactive issue resolution. GOLINE SA's clients experienced tangible benefits: Enhanced Email Security: Automated protocols...
  • Route RPKI validation April 1st, 2022
    RPKI is a security framework by which network owners can validate and secure the critical route updates or Border Gateway Protocol (BGP) announcements between public Internet networks. BGP is essentially the central nervous system of the Internet and one of its fundamental building blocks. The main function of BGP is to facilitate efficient routing between Autonomous Systems (AS), by building and maintaining the Internet routing table. The Internet routing table is effectively the navigation system of the Internet and without it, traffic would be unable to flow between its constituent networks. Unfortunately, routing equipment alone cannot distinguish between legitimate and malicious routing announcements,...
  • RIPE – Atlas Anchor February 17th, 2022
    We have become an even more integral part of the RIPE Atlas project by hosting an anchor, a device that allows for latency analysis of traffic between autonomous systems. Atlas anchors play an integral role in the RIPE Atlas network by acting both as enhanced RIPE Atlas probes with more measurement capacity, as well as regional measurement targets within the greater RIPE Atlas network. Anchors are able to perform many more measurements than a regular RIPE Atlas probe, and the large amount of data they collect is made available to everyone. In addition, anchors act as powerful targets that can...

Visualizzare gli utenti di una OU e i gruppi a cui appartengono

Miro Manglaviti Windows 22 June 2022

La funzione deve essere eseguita nella  PowerShell


Function GetADUser()
$ADUsers = dsquery user "ou=puntofresco,dc=buonvicini,dc=local"
FOREACH ($ADUser in $ADUsers)
If ($ADUser.Length -gt 3)
$DN = $ADUser.split(",")
$CN = $DN[0]
$UsrFriendlyName = $CN.Substring(4)
Write-Host "User: " $UsrFriendlyName
Write-Host "Member of:"
Write-Host "————-"


$ADGroups = dsquery user $ADUser | dsget user -memberof
$ADGroupItems = @()
FOREACH ($ADGroup in $ADGroups)

If ($ADGroup.Length -gt 3)
$DN = $ADGroup.split(",")
$CN = $DN[0]
$GrpFriendlyName = $CN.Substring(4)
Write-Host $GrpFriendlyName
Write-Host " "


fare un doppio enter per memorizzare e uscire



La funzione resta in memoria finché powerShell resta aperto

Per modificare la ou:
$ADUsers = dsquery user "ou=xxxxxxxx,dc=buonvicini,dc=local" 

Altri comandi per visualizzare utenti:
dsquery user -name * -limit 0
dsquery user -name * -limit 0 | dsget user -memberof  | dsget group

Visualizza tutti gli utenti di un gruppo
dsget group "CN=Domain Admins,OU=Gruppi,OU=Goline,DC=buonvicini,DC=local" -members


Altri comandi



0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x