Skip to content

Commit 0c5e746

Browse files
authored
Merge pull request #119842 from mloskot/patch-2
fix: Missing markup for code example
2 parents 792214b + 8f73abc commit 0c5e746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/virtual-machines/extensions/custom-script-windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ If your script is on a local server, you might still need to open other firewall
5555
### Tips
5656

5757
- Output is limited to the last 4,096 bytes.
58-
- Properly escaping characters will help ensure that strings are parsed correctly. For example, you always need two backslashes to escape a single literal backslash when dealing with file paths. Sample: {"commandToExecute": "C:\\Windows\\System32\\systeminfo.exe >> D:\\test.txt"}
58+
- Properly escaping characters will help ensure that strings are parsed correctly. For example, you always need two backslashes to escape a single literal backslash when dealing with file paths. Sample: `{"commandToExecute": "C:\\Windows\\System32\\systeminfo.exe >> D:\\test.txt"}`
5959
- The highest failure rate for this extension is due to syntax errors in the script. Verify that the script runs without errors. Put more logging into the script to make it easier to find failures.
6060
- Write scripts that are idempotent, so that running them more than once accidentally doesn't cause system changes.
6161
- Ensure that the scripts don't require user input when they run.

0 commit comments

Comments
 (0)