Skip to content

Instantly share code, notes, and snippets.

@lawrence-laz
Created May 5, 2022 11:57
Show Gist options
  • Save lawrence-laz/b491420770e2fc3c60023d5e11eb1dd1 to your computer and use it in GitHub Desktop.
Save lawrence-laz/b491420770e2fc3c60023d5e11eb1dd1 to your computer and use it in GitHub Desktop.
# Print file system contents
- powershell: |
Write-Host "Show all folder content"
Get-ChildItem -Path $(Agent.WorkFolder)\*.* -Recurse -Force
errorActionPreference: continue
displayName: 'PowerShell Script List folder structure'
continueOnError: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment