Configuring vCenter logical constructs
In this section, we will discuss the different components, which are as follows:
- A folder
- A datacenter
- A cluster
Folder
We are connected to a vCenter server with nothing configured in it. We will start with creating a folder. A folder is the most basic component of the logical constructs in a vCenter environment. We create folders to organize different constructs. We can use the following cmdlets to manage folders in an environment:
Get-Folder
Move-Folder
New-Folder
Remove-Folder
Set-Folder
First, we will create a folder under the root folder. To get the root folder, we can use the following cmdlet:
PS C:\> Get-Folder -NoRecursion Name Type ---- ---- Datacenters Datacenter
Tip
Notice the –NoRecursion
switch, by default the Get-Folder
cmdlet is recursive in nature, it starts with the root folder, and shows the rest. Here, we want to see only the root folder...