Advertisement
Dennisaa

PSISESnippet01

Dec 29th, 2015
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $m = @'
  2. <#
  3. .Synopsis
  4. Drop set of databases
  5. .Example
  6. Drop-Database -DatabasePrefix "TestSet"
  7. #>
  8. function Drop-Database {
  9.    [CmdletBinding(SupportsShouldProcess)]
  10.    Param (
  11.        [Parameter(Mandatory)]
  12.        $DatabasePrefix
  13.    )
  14.    Begin {
  15.    }
  16.    Process {
  17.    }
  18.    End {
  19.    }
  20. }
  21. '@
  22.  
  23. New-ISESnippet -Text $m -Title "testingtitle" -Description "A snippet to drop databases." -Author "Dennis Wells, The Things I Do" -Force
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement