Skip to content
Admin Notes

SysAdmin Notes

  • SysAdmin Tools
  • How To Manuals
  • About me

Tag Archives: search

  • Home   /  
  • Posts tagged "search"
phi3nix How to: Powershell,How to: Windows ad, code, filter, group, powershell, search, security group, SID, windows

How to find SID users/groups/computers star from pa*

I had to get SID for all Users that Logon Name begin with pa

Get-ADUser -Filter {Name -like "pa*"} | Select Name,SID | Format-Table -Auto

For all Groups that Name begin with pa

Get-ADGroup -Filter {Name -like "pa*"} | Select Name,SID | Format-Table -Auto

For all Computers that Name begin with pa

Get-ADComputer -Filter {Name -like "pa*"} | Select Name,SID | Format-Table -Auto

Recent Posts

  • Easy way to fix “The trust relationship between this workstation and the primary domain failed”
  • How to kill frozen service
  • How to restart frozen QNAP
  • How to find SID users/groups/computers star from pa*
  • Getting VHD size plus info using PowerShell for the all Virtual Machines on the cluster

Categories

  • How to: Active Directory
  • How to: Exchange
  • How to: Hardware
  • How to: Hyper-v
  • How to: Powershell
  • How to: Printers
  • How to: Windows
  • Uncategorized

Archives

  • July 2019
  • February 2019
  • September 2018
  • August 2018
  • July 2018
  • February 2018
  • December 2016
  • January 2016
  • November 2015
  • August 2015
  • July 2015
  • June 2015

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Your Copyright Text