added log file output for Run-Script function
This commit is contained in:
@@ -152,6 +152,9 @@ switch ($PSCmdlet.ParameterSetName)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
## Write the log file output to the console
|
||||||
|
If ( Test-Path $LogFile ) { Get-Content -Path $LogFile | Write-Output }
|
||||||
|
Else { Write-Output "Log file not found at ""$LogFile""" }
|
||||||
}
|
}
|
||||||
|
|
||||||
## Return a Powershell version object from a string
|
## Return a Powershell version object from a string
|
||||||
|
|||||||
Reference in New Issue
Block a user