Skip to content

Commit d3d0c7f

Browse files
authored
Update VALIDATION-COMMANDS.md with PowerShell equivalents for Windows support (#531)
1 parent 2ffa1e9 commit d3d0c7f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

claude/skills/azure-deployment-preflight/references/VALIDATION-COMMANDS.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ bicep build <bicep-file> [options]
241241

242242
**Examples:**
243243

244+
**Bash:**
244245
```bash
245246
# Validate syntax (output to stdout, no file created)
246247
bicep build main.bicep --stdout > /dev/null
@@ -252,6 +253,18 @@ bicep build main.bicep --outdir ./build
252253
for f in *.bicep; do bicep build "$f" --stdout; done
253254
```
254255

256+
**PowerShell:**
257+
```powershell
258+
# Validate syntax (output to stdout, no file created)
259+
bicep build main.bicep --stdout | Out-Null
260+
261+
# Build to specific directory
262+
bicep build main.bicep --outdir ./build
263+
264+
# Validate multiple files
265+
Get-ChildItem -Filter *.bicep | ForEach-Object { bicep build $_.FullName --stdout }
266+
```
267+
255268
**Error Output Format:**
256269
```
257270
/path/to/file.bicep(22,51) : Error BCP064: Found unexpected tokens in interpolated expression.
@@ -372,8 +385,17 @@ targetScope = 'tenant'
372385
| Bicep CLI | 0.4.0 | Latest | Best error messages |
373386

374387
**Check versions:**
388+
389+
**Bash:**
375390
```bash
376391
az --version
377392
azd version
378393
bicep --version
379394
```
395+
396+
**PowerShell:**
397+
```powershell
398+
az --version
399+
azd version
400+
bicep --version
401+
```

0 commit comments

Comments
 (0)