updated quote marks on file path to create positions and bookmark-system files

This commit is contained in:
Mathew 2024-09-19 14:36:52 +00:00
parent ffb1f5ad92
commit f69075cc45

View File

@ -358,8 +358,8 @@ if ($shouldDownloadPromtail) {
## Now create the positions files. NB Please create a Positions file for each Job.
New-Item -Path c:\ProgramData\Promtail\positions.txt -ItemType File
New-Item -Path c:\ProgramData\Promtail\bookmark-system.xml -ItemType File
New-Item -Path 'c:\ProgramData\Promtail\positions.txt' -ItemType File
New-Item -Path 'c:\ProgramData\Promtail\bookmark-system.xml' -ItemType File
$filename = $downloadUrl.Split("/")[-1]
$fullPath = Join-Path -Path $downloadPath -ChildPath $filename