b1nary0mega
7/20/2017 - 3:34 PM

Powershell Template

Powershell Template

<#
.NAME 
    XYZ
.VERSION 
    v1.0
.AUTHOR
    Jimmi Aylesworth
.DATE
    YYY-MMM-DD
.DESCRIPTION
   This scripts does
	  -- X
	  -- Y
	  -- Z

#>

#Clear out the prompt and print out a bit of info about this script
Clear-Host
Write-Host
Write-Host "Script Name: XYZ 1.0"
Write-Host "Author: Jimmi Aylesworth"
$Date = Get-Date -DisplayHint DateTime
Write-Host "Output created on: " , $Date
Write-Host

#Clear out your starting variables
$ServicesOnComputer1 = $Null
$ServicesOnComputer2 = $Null

#DO SOME STUFF