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: prompting

Press any key to continue……powershell style.

November 3, 2020 (November 3, 2020) Chris

Such a simple thing really, but so handy if you want to pause somewhere in a script to read some sort of output before continuing. One of the most common ways to pause a script is to use the Read-Host command like this: 1 Read-Host -Prompt "Press enter to continue"Read-Host -Prompt "Press enter to continue" […]

Powershellpress any key, prompting 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