src/Start-cciCodeFetcher.ps1
function Start-cciCodeFetcher { [CmdletBinding()] param ( [switch] $silent ) begin { Write-Verbose "Started running $($MyInvocation.MyCommand)" } process { Install-Module Az.Storage -Force Install-Module Az.Keyvault -Force if(!($silent)) { Read-Host "Would you like to continue?" } } end { Write-Verbose "Finished running $($MyInvocation.MyCommand)" } } |