of the wizard, you will see a View Script button at the bottom-right corner. Click
this button, and you will be shown all of the PowerShell commands that the
console is going to run to perform the actions selected. You can now take all of
these commands and add them into your own scripts or automation processes.
Libraries
Throughout this book, I talk about many aspects of SCVMM, and in this section I want
to spend some time on the libraries in SCVMM because they are critical to many
activities. Although it would be possible to store all of the SCVMM resources in
various locations, the best way is to utilize the SCVMM library feature, which allows
one or more file shares to be used by SCVMM as a central repository for assets that
can be used in the virtualization management. Typical assets placed in the library
include the following:
Virtual machine templates, which include the virtual machine hardware
configuration as well as OS configuration information such as domain
membership, the product key, and other configuration options for enabling the fast
creation of new virtual machines
Virtual hard disks, which will primarily be VHD for Hyper-V virtual machines but
can also store VMDK for ESX. VHD files can also be used to deploy physical Hyper-
V servers.
Virtual machines that are not in use. This allows you to save disk space on the
virtualization hosts or shared storage by storing unused machines in the SCVMM
library. You can then deploy them again if needed. For end users, this saves their
VM quota!
ISO files, which are images of CDs and DVDs that can be attached to virtual
machines to install operating systems or applications
Drivers
Service templates, which describe multitiered services
Various types of profiles, such as hardware profiles and guest OS profiles, which
are used as building blocks for creating templates; host profiles (for physical
deployments of Hyper-V servers); capability profiles that describe the capabilities
of different hypervisors or environments; SQL Server profiles when installing SQL
Server; and application profiles for application deployment. Think of profiles as
building blocks for use in other activities within SCVMM.
Updated baselines and catalogs
Scripts and commands used for management, which can be grouped into packages
called custom resources (which as previously mentioned are just folders with a .cr
extension)