skip to main | skip to sidebar

The Masked SharePointer

Wednesday, October 6, 2010

PowerShell - Stopping the annoying confirm messages

To stop those annoying confirm messages (i.e. "Are you sure you want to perform this action?") , do this:

$ConfirmPreference = "None"


the end
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2011 (9)
    • ►  December (1)
    • ►  September (1)
    • ►  May (2)
    • ►  April (2)
    • ►  March (1)
    • ►  February (2)
  • ▼  2010 (5)
    • ▼  October (4)
      • SharePoint 2010 Modifying UI Version in PowerShell
      • PowerShell - Stopping the annoying confirm messages
      • Looping through all SharePoint 2010 sites with Pow...
      • SharePoint 2010: One or more field types are not i...
    • ►  June (1)
  • ►  2009 (9)
    • ►  September (1)
    • ►  August (4)
    • ►  July (1)
    • ►  March (3)
  • ►  2008 (7)
    • ►  December (1)
    • ►  November (6)

About Me

The Masked Developer
the dev worlds international man of mystery...
View my complete profile