Skip to content

Instantly share code, notes, and snippets.

@chrisbrownie
Created December 9, 2016 00:42
Show Gist options
  • Save chrisbrownie/bf156edf98c2a0fab90f177226505972 to your computer and use it in GitHub Desktop.
Save chrisbrownie/bf156edf98c2a0fab90f177226505972 to your computer and use it in GitHub Desktop.
<#
.SYNOPSIS
TODO: Add scripts synopsis here
.DESCRIPTION
TODO: Add script description here. This should be a longer version of the synopsis
.OUTPUTS
What are the output types?
.PARAMETER Param1
Info about parameter1
.PARAMETER Param2
Info about parameter2
.PARAMETER Param3
Info about parameter3
.EXAMPLE
.\Run-Script.ps1
What does this execution do?
.EXAMPLE
.\Run-Script.ps1 -Verbose
What does this execution do?
.LINK
http://yourscript.com
.NOTES
This is any long-form information you might want to make a note of
Consider including:
- Credits
- Changelog
- Support information
- License
#>
#requires -Modules AnyRequiredModules
#region Start parameters
[CmdletBinding()]
param ()
#endregion
#region Start variables
#...................................
# Variables
#...................................
$now = Get-Date
#Short date format for reports, logs, emails
$shortdate = $now.ToShortDateString()
$myDir = Split-Path -Parent $MyInvocation.MyCommand.Path
#endregion
## Script goes here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment