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

Managing OS customization specifications


In this topic, we will discuss how to manage OS customization specifications in a vSphere environment. We can use the following cmdlets to manage customization specifications:

  • Get-OSCustomizationSpec

  • New-OSCustomizationSpec

  • Remove-OSCustomizationSpec

  • Set-OSCustomizationSpec

To create a new guest OS customization specification, we can use the New-OSCustomizationSpec cmdlet. Using this cmdlet, we can specify the specification for both Windows and Linux VMs. To use it with Windows, there are certain mandatory parameters, which we need to specify. These are as follows:

  • A name

  • A domain or workgroup

  • A FullName and OrgName

In the case of a Linux VM, only a name and domain name need to be specified.

We can use the –OSType parameter to mention whether the VM is a Windows or Linux type. This parameter accepts only Windows and Linux as valid values. The cmdlet and the output is shown in the following example:

PS C:\> New-OSCustomizationSpec –Name 'TestSpec1...
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