Books
Translate This Blog
-
Recent Posts
Top Posts
- Changing Ownership of File or Folder Using PowerShell
- Querying UDP Ports with PowerShell
- Avoiding System.Object[] (or Similar Output) when using Export-Csv
- Starting,Stopping and Restarting Remote Services with PowerShell
- PowerShell and Excel: Adding Some Formatting To Your Report
- Locating Mount Points Using PowerShell
- Using PowerShell to Query Web Site Information
- Quick Hits: Finding Exception Types with PowerShell
- List All Files Regardless of 260 Character Path Restriction Using PowerShell and Robocopy
- Speedy Ping using PowerShell
Archives
Categories
- .net
- api
- array
- background jobs
- binary
- book
- c#
- clock
- codeplex
- com object
- convert
- CTP
- database
- deep dive
- excel
- Favorites
- function
- groups
- guest blog
- hash table
- Internet Explorer
- ise
- mcpmag
- module
- MVP
- network
- news
- parameter
- patches
- performance
- pinvoke
- podcast
- port
- PoshChat
- poshpaig
- PoshRSJob
- poshwsus
- powercli
- powerscripting
- Powershell
- printers
- quickhits
- reflection
- regex
- registry
- Regular Expressions
- report
- resolution
- runspace
- runspaces
- scripting games 2012
- scripting games 2013
- scripting guy
- scripts
- SMO
- Speaker
- speaking
- SQL
- tcp
- tips
- tsql
- updates
- user group
- V3
- V4
- v5
- weather
- widget
- win32API
- winter scriting games 2014
- wmi
- word
- WPF
- wsus
- xaml
Category Archives: Tips
Scripting Games 2013: Use of SupportsShouldProcess in Functions/Scripts
Edit: I was caught speeding when I put up this post. Move-Item will pick up on SupportsShouldProcess and handle the –Whatif and –Confirm without having to supply the $Pscmdlet.SupportsShouldProcess(). In fact, adding this to a cmdlet that already supports it … Continue reading
Posted in Scripting Games 2013, Tips
Tagged scripting games 2013, SupportsShouldProcess, tips, whatif
5 Comments