Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

STEPS TO PERFORM AZURE DEPLOYMENT PLANNER.

1. Set-ExecutionPolicy –ExecutionPolicy AllSigned (TO ENABLE EXECUTION POLICY FOR THE


SCRIPT).

2. Add-PSSnapin VMware.VimAutomation.Core (Optionally need to Run , if Connect-VIServer is


not recognized as the name of cmdlet).

3. Connect-VIServer -Server <server name> -User <user name> -Password <password> (


vCenter/ESXI UID/Password).

4. Get-VM | Select Name | Sort-Object -Property Name > <outputfile.txt> (To get all the
names of VMs on a vCenter server/vSphere ESXi host and store the list in a .txt file)

5. [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 (Run


Optionally before Step 3 , if VMware version above 6.0 else you will not able to connect
vCenter/ESXI)

6. ASRDeploymentPlanner.exe -Operation StartProfiling -Virtualization VMware -Directory


“PATH OF FOLDER where VM TEXT FILE EXIST” -Server VCENTER SERVER FQDN/IP -
VMListFile “PATH OF FOLDER where VM TEXT FILE EXIST\.txt file” -NoOfDaysToProfile 15 -
User vCenterUsername.

7. After Profiling is completed , Generate a report and Prerequisite is MS EXCEL 2013 or


above.

ASRDeploymentPlanner.exe -Operation GenerateReport -Virtualization VMware -Server


vCenter1.contoso.com -Directory “PATH OF VM TEXT FILE” -VMListFile “PATH OF VM LIST
FILE\ProfileVMList1.txt”

You might also like