@@ -71,7 +71,7 @@ function New-AssessmentCreation {
71
71
72
72
# Create a new group with all machines discovered in the project based on the mentioned discovery source
73
73
$groupName = " AllMachines_" + $discoverySource
74
- $group = New-Group - Add-Machines - token $token - subscriptionId $subscriptionId - resourceGroupName $resourceGroupName - assessmentProjectName $assessmentProjectName - discoverySource $discoverySource - groupName $groupName
74
+ $group = New-GroupAddMachines - token $token - subscriptionId $subscriptionId - resourceGroupName $resourceGroupName - assessmentProjectName $assessmentProjectName - discoverySource $discoverySource - groupName $groupName
75
75
76
76
# Creating assessment on the newly created group
77
77
# #PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/assessments/{assessmentName}?api-version=2019-10-01
@@ -225,7 +225,7 @@ function Get-GroupStatus {
225
225
. SYNOPSIS
226
226
Creates a new group in the specified Azure Migrate project within a specified Azure subscription.
227
227
. DESCRIPTION
228
- The New-Group-Add-Machines cmdlet creates a new group based on discovery source and adds all machines in the group from the Azure Migrate project.
228
+ The New-GroupAddMachines cmdlet creates a new group based on discovery source and adds all machines in the group from the Azure Migrate project.
229
229
. PARAMETER token
230
230
Specifies the Azure authentication token.
231
231
. PARAMETER subscriptionId
@@ -240,13 +240,13 @@ Specifies the Azure Migrate discovery source (Appliance/Import) to query.
240
240
Specifies the group name to query.
241
241
. EXAMPLE
242
242
Cretae a new group with group name ALl_Machines
243
- PS C:\Assessment_Utility> New-Group-Add-Machines -subscriptionId "4bd2aa0f-2bd2-4d67-91a8-5a4533d58600" -resourceGroupName "rajosh-rg" -assessmentProjectName "rajoshSelfHost-Physical92c3project" -groupName "All_machines"
243
+ PS C:\Assessment_Utility> New-GroupAddMachines -subscriptionId "4bd2aa0f-2bd2-4d67-91a8-5a4533d58600" -resourceGroupName "rajosh-rg" -assessmentProjectName "rajoshSelfHost-Physical92c3project" -groupName "All_machines"
244
244
245
245
. NOTES
246
246
1. The function returns an object with group details.
247
247
2. This function needs to be called before assessment creation so that group creation has completed
248
248
#>
249
- function New-Group-Add-Machines {
249
+ function New-GroupAddMachines {
250
250
[CmdletBinding ()]
251
251
Param (
252
252
[Parameter (Mandatory = $true )][string ]$token ,
0 commit comments