We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2ad70e commit 10a2f88Copy full SHA for 10a2f88
modules/BOSH.WinRM/BOSH.WinRM.psm1
@@ -54,20 +54,3 @@ function runCmd {
54
Write-Log "Error running: $arg"
55
}
56
57
-
58
-function Write-Log {
59
- Param (
60
- [Parameter(Mandatory=$True,Position=1)][string]$Message,
61
- [string]$LogFile="C:\provision\log.log"
62
- )
63
64
- $LogDir = (split-path $LogFile -parent)
65
- If ((Test-Path $LogDir) -ne $True) {
66
- New-Item -Path $LogDir -ItemType Directory -Force
67
- }
68
69
- $msg = "{0} {1}" -f (Get-Date -Format o), $Message
70
- Add-Content -Path $LogFile -Value $msg -Encoding 'UTF8'
71
- Write-Host $msg
72
-}
73
0 commit comments