Reader small image

You're reading from  Mastering PowerCLI

Product typeBook
Published inOct 2015
Reading LevelIntermediate
PublisherPackt
ISBN-139781785286858
Edition1st Edition
Languages
Right arrow
Author (1)
Sajal Debnath
Sajal Debnath
author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath

Right arrow

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...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering PowerCLI
Published in: Oct 2015Publisher: PacktISBN-13: 9781785286858

Author (1)

author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath