Skip to content

Commit 06eafe9

Browse files
Export Script
Log file creati0n command was misspelled. New-Item -Path $LogPath -Name $LogName -ItemType File
1 parent b769f80 commit 06eafe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LT-ScriptExport.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Function Log-Start{
168168

169169
#Create file and start logging
170170
If($(Test-Path -Path $FullLogPath) -ne $true) {
171-
New-Item -Path $LogPath -Value $LogName -ItemType File
171+
New-Item -Path $LogPath -Name $LogName -ItemType File
172172
}
173173

174174
Add-Content -Path $FullLogPath -Value "***************************************************************************************************"

0 commit comments

Comments
 (0)