src/Register-CCIPlatformRepo.ps1

function Register-CCIPlatformRepo {
    [CmdletBinding()]
    param (
        $Name = "CCIPlatform",
        $SourceLocation = "https://pkgs.dev.azure.com/cciplatform/_packaging/CCIPlatform-Feed/nuget/v2",
        $PackageManagementProvider = "Nuget",
        $InstallationPolicy = "Trusted"
    )
    begin {
        Write-Verbose "Started running $($MyInvocation.MyCommand)"
    }
    process {
        Register-PSRepository -Name $Name -SourceLocation $SourceLocation -PackageManagementProvider $PackageManagementProvider -InstallationPolicy $InstallationPolicy
    }
    end {
        Write-Verbose "Started running $($MyInvocation.MyCommand)"
    }
}