Skip to content

Commit 27bb22a

Browse files
Merge pull request #7504 from Priyanka-Middha/main
Enhance PowerCLI installation instructions with detailed steps and co…
2 parents f04c692 + 3c932af commit 27bb22a

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

WindowsServerDocs/manage/windows-admin-center/use/migrate-vmware-to-hyper-v.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,30 @@ Before you begin, review the prerequisites and ensure your environment meets the
5555
### Windows Admin Center Gateway prerequisites
5656

5757
- Install PowerCLI.
58-
- Install using the PowerShell command: `Install-Module -Name VMware.PowerCLI`
58+
59+
1. Open **PowerShell** as an administrator.
60+
61+
2. Run the following command to install the PowerCLI module:
62+
63+
```powershell
64+
Install-Module -Name VMware.PowerCLI
65+
```
66+
67+
3. Verify that the module is installed:
68+
69+
```powershell
70+
Get-Module -Name VMware.PowerCLI -ListAvailable
71+
```
72+
73+
4. Test the connection to a vCenter Server by running:
74+
75+
```powershell
76+
Connect-VIServer -Server "<vCenterServerFQDN_or_IP>" -User "<username>" -Password "<password>" -Force
77+
```
78+
79+
> \[!NOTE]
80+
> Replace `<vCenterServerFQDN_or_IP>`, `<username>`, and `<password>` with your actual vCenter credentials.
81+
5982

6083
- Install:
6184
- [Microsoft Visual C++ Redistributable](/cpp/windows/latest-supported-vc-redist)

0 commit comments

Comments
 (0)