| tags |
|
|---|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| param( | |
| [string]$Path = (Get-Location).Path | |
| ) | |
| $totalBytes = 0 | |
| $results = Get-ChildItem -LiteralPath $Path -Directory | ForEach-Object { | |
| $size = (Get-ChildItem -LiteralPath $_.FullName -Recurse -File -ErrorAction SilentlyContinue | | |
| Measure-Object -Property Length -Sum).Sum | |
| $totalBytes += $size | |
| [PSCustomObject]@{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @allowed([ | |
| 'dev', 'tst', 'acc', 'prd' | |
| ]) | |
| param env string = 'dev' | |
| param projectName string | |
| param resourceLocationLong string = resourceGroup().location | |
| param resourceLocationShort string | |
| param containerRegistryName string = 'yourawesomecontaineregistry' |
This workshop is licensed under CC BY-NC-SA 4.0 and should not be used commercially without permission.
Of course, the concepts we discuss can and should be used to improve the quality of your application production environment, as such all code samples are licensed under MIT.
This workshop is licensed under CC BY-NC-SA 4.0 and should not be used commercially without permission.
Of course, the concepts we discuss can and should be used to improve the quality of your application production environment, as such all code samples are licensed under MIT.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "id": 1, | |
| "name": "Luke Skywalker", | |
| "gender": "male", | |
| "wiki": "http://starwars.wikia.com/wiki/Luke_Skywalker", | |
| "affiliations": [ | |
| "Alliance to Restore the Republic", | |
| "Red Squadron", | |
| "Rogue Squadron", |