Skip to content

Uninstall-PSResource: • Uninstall is not checking for dependencies (for Az modules) #760

Open
@SydneyhSmith

Description

@SydneyhSmith

Summary of the new feature / enhancement

• Uninstall is not checking for dependencies – Here is a repro. Note that Az.Accounts is removed instead of throwing an error.

PS> Install-PSResource Az.Billing -Repository PSGallery -Reinstall -PassThru

Name Version Prerelease Repository Description


Az.Billing 2.0.0.0 PSGallery Microsoft Azure PowerShell - Billing service cmdlets for Azure Resource Mana…
Az.Accounts 2.9.1.0 PSGallery Microsoft Azure PowerShell - Accounts credential management cmdlets for Azur…

PS> Uninstall-PSResource Az.Accounts
PS> gmo az.* -list

Directory: C:\Users\sewhee\Documents\PowerShell\Modules

ModuleType Version PreRelease Name PSEdition ExportedCommands


Script 2.0.0 Az.Billing Core,Desk {Get-AzBillingInvoice, Get-AzBillingPer…

Proposed technical implementation details (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions