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: $error

Errors? What errors? Oh…..that $error.

November 3, 2020 (November 3, 2020) Chris

We all hate it when your script throws an error. I mean they’re great when you’re writing the script. They help you figure out what’s wrong, but what if you need to keep a log of any errors after you’ve deployed the script? Recently, I was putting a script together to a script to alert […]

Powershell$error, error handling 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