Skip to content

Instantly share code, notes, and snippets.

@tostka
Created March 29, 2018 22:33
Show Gist options
  • Save tostka/cf0c2445f0b6b436ad5f4cd0696b77f7 to your computer and use it in GitHub Desktop.
Save tostka/cf0c2445f0b6b436ad5f4cd0696b77f7 to your computer and use it in GitHub Desktop.
#*----------V Comment-based Help (leave blank line below) V----------
<#
.SYNOPSIS
[NAME].ps1 - [1-LINE-DESC]
.NOTES
Written By: Todd Kadrie
Website: http://tinstoys.blogspot.com
Twitter: http://twitter.com/tostka
Additional Credits: [REFERENCE]
Website: [URL]
Twitter: [URL]
Change Log
[VERSIONS]
.DESCRIPTION
[DESC]
.PARAMETER <Parameter-Name>
<parameter comment>
.INPUTS
None. Does not accepted piped input.
.OUTPUTS
None. Returns no objects or output.
System.Boolean
True if the current Powershell is elevated, false if not.
[use a | get-member on the script to see exactly what .NET obj TypeName is being returning for the info above]
.EXAMPLE
.\[SYNTAX EXAMPLE]
[use an .EXAMPLE keyword per syntax sample]
.LINK
< name of a related topic, one .LINK keyword per related topic. Can also include a URI to online help (start with http:// or https://)>
*----------^ END Comment-based Help ^---------- #>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment