Data/ScriptName.ps1

[CmdletBinding()]  
param (
  [Parameter(Mandatory=$true, 
    ValueFromPipeline=$true,  
    ValueFromPipelineByPropertyName=$true)]
  [ValidateSet("DEV", "STG", "PRD")] 
  [string]$Environment,
  [Parameter(
      Mandatory=$true, 
      ValueFromPipeline=$true,
      ValueFromPipelineByPropertyName=$true)]
  [ValidateScript({Test-Path $_ -PathType Any})] 
  [string]$Path
)  

<#
  .Synopsis
    Short description
  .DESCRIPTION
    Long description
  .EXAMPLE
    Example of how to use this cmdlet
#>
  
  
Write-Verbose "Starting ScriptName.ps1..."

# stuff here...

Write-Verbose "Finshed ScriptName.ps1..."