Skip to content

Main Navigation

     
pwshell.techPowershell all the things!
  • Home
  • One-Liners
  • Modules
  • About
  • Contact

Categories

  • Modules (1)
  • One-Liners (3)
  • Powershell (12)
  • QuickScript (1)

Join Us!

  • r/pwshell
  • Github Repo

Tags

$errorActive Directoryadcredentialscredsenter-pssessionerror handlingfile managerHyper-VInvoke-Commandinvoke-commandaslockoutsmoduleO365one-linerOUpress any keypromptingquick accessremotingsnippetsspeedtestwinrm

Tag: Active Directory

One-Liner: Move Computer to new OU

November 9, 2020 (November 9, 2020) Chris

Periodically, I scan our Active Directory (AD) for machines that haven’t contacted AD in 60+ days. So one thing I like to do is stage them in an OU called “Obsolete”, and then wait another 60+ days to remove them from AD. Our turnover is generally not to high, but it’s enough that moving/removing the […]

One-LinersActive Directory, OU Leave a comment

Recent Posts

  • Quick Script: Get AD Lockouts
  • Pin to Quick Access with Powershell
  • Save Credentials to a File
  • Module Highlight: Invoke-CommandAs
  • One-Liner: Move Computer to new OU

Archives

  • February 2021
  • November 2020
  • October 2020
  • Entries RSS
  • Comments RSS
©2020 pwshell.tech