Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Adding ApplianceName as optional input parameter to the Get-AzMigDiscoveredVMwareVMs command #416

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

rohan-dassani
Copy link
Contributor

@rohan-dassani rohan-dassani commented Sep 28, 2023

If Appliance name is passed get data only for that appliance
-- Get-AzMigDiscoveredVMwareVMs -ResourceGroupName "testgroup" -ProjectName "depmape2e" -ApplianceName "myappliance" -OutputCsvFile "specificappliance.csv"

If Appliance name is not passed , get data for all appliances in that project
-- Get-AzMigDiscoveredVMwareVMs -ResourceGroupName "testgroup" -ProjectName "depmape2e" -OutputCsvFile "allappliance.csv"

Fixes #392

Description

Checklist

  • This pull request was tested on both of:
  • Scripts do not contain static passwords or other secret tokens.
  • All Azure resource identifiers which must be universally unique are guaranteed to be so.

Testing information

Platform and PowerShell version: [pscustomobject]$PSVersionTable | Select-Object OS, BuildVersion, PSVersion

Az version: (Get-InstalledModule -Name Az).Version

@rohan-dassani rohan-dassani changed the title Adding ApplianceName input parameter to the Get-AzMigDiscoveredVMwareVMs command Adding ApplianceName as optional input parameter to the Get-AzMigDiscoveredVMwareVMs command Sep 28, 2023
Copy link
Contributor

@mikefrobbins mikefrobbins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mikefrobbins mikefrobbins merged commit d95801b into Azure:master Sep 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is it possible to add -ApplianceName Parameter when using Get-AzMigDiscoveredVMwareVMs
2 participants