Skip to content

No Column Name

My learnings and thoughts on SQL Server and PowerShell

  • About Me:
    • Twitter:
    • DBA.stackexchange
  • Community Scripts
  • T-SQL Tuesday
  • SQL Server
  • PowerShell
  • Twitter

Tag: pause

Change Read-Host to Confirm!

Change Read-Host to Confirm!

Words: 884

Time to read: ~ 4 minutes

Update: 29-Aug-2018 – Thanks to the good folks in reddit (u/TheIncorrigible1 & u/Ta11ow) who pointed out that Pause is a function, not an alias & a really cool addition to the confirm attribute. Also added the second step I left out of the 1st draft (oops).

Continue reading “Change Read-Host to Confirm!”

Author Shane O'NeillPosted on August 28, 2018August 29, 2018Categories General, PowershellTags ComfirmPreference, Confirm, ConfirmImpact, pause, Read-Host6 Comments on Change Read-Host to Confirm!

Follow me on Twitter

My Tweets
  • About Me:
    • Twitter:
    • DBA.stackexchange
  • Community Scripts
  • T-SQL Tuesday
  • SQL Server
  • PowerShell
  • Twitter
No Column Name Powered by WordPress.com.
 

Loading Comments...