Skip to content

Commit

Permalink
Added a Write-Verbose line to the Get-Analysis function.
Browse files Browse the repository at this point in the history
  • Loading branch information
davehull committed Jun 28, 2014
1 parent e27a5de commit 5afe0f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kansa.ps1
Expand Up @@ -555,6 +555,7 @@ Param(
if (Test-Path "$OutputPath$DataDir") {
Push-Location
Set-Location "$OutputPath$DataDir"
Write-Verbose "Running analysis script: ${AnalysisScript}"
$AnalysisFile = ((((($AnalysisScript -split "\\")[1]) -split "Get-")[1]) -split ".ps1")[0]
& "$StartingPath\Analysis\${AnalysisScript}" | Set-Content -Encoding $Encoding ($AnalysisOutPath + $AnalysisFile)
Pop-Location
Expand Down

0 comments on commit 5afe0f7

Please sign in to comment.