Reference Guide › AutoShell › AutoShell Loadable Modules' Command Reference › CA Microsoft Hyper-V AutoShell Commands › dpmhv-ShowSCVMMOSProfiles (Funclet) Command--Show all Guest OS Profiles
dpmhv-ShowSCVMMOSProfiles (Funclet) Command--Show all Guest OS Profiles
The dpmhv-ShowSCVMMOSProfiles command displays all guest operating system (OS) profiles that are available for a VM while creating a VM using the SCVMM template.
This command has the following format:
dpmhv-showSCVMMOSProfiles
-scvmmHost scvmmHostname
[-retval]
[-silent]
[-detail]
- -scvmmHost scvmmHostname
-
(Optional) Specifies the host name of the Microsoft System Center Virtual Machine Manager (SCVMM) library server. This parameter is valid when you use SCVMM integration to provision VMs.
- -retval
-
Returns a value for further processing.
- -silent
-
Specifies not to direct the output to the screen.
- -detail
-
(Optional) Displays the details of the list of directories.
- Return Value
-
The dpmhv-ShowSCVMMOSProfiles command returns an array of objects which represents a guest OS profile on the specified SCVMM library server.
The following properties are returned in regular mode:
- Admin
- AdminPasswordHasValue
- ComputerName
- Description
- DomainAdmin
- DomainAdminPasswordHasValue
- JoinDomain
- JoinWorkgroup
- Name
- OperatingSystem
- OrgName
- ProductKeyHasValue
The following properties are returned in detail mode:
- Accessibility
- AddedTime
- Admin
- AdminPasswordHasValue
- ComputerName
- Description
- DomainAdmin
- DomainAdminPasswordHasValue
- Enabled
- FullName
- GuiRunOnceCommands
- ID
- IsFullyCached
- JoinDomain
- JoinWorkgroup
- MarkedForDeletion
- MergeAnswerFile
- ModifiedTime
- MostRecentTask
- Name
- ObjectType
- OperatingSystem
- AllowsOrgNameInSysprep
- Architecture
- Description
- Edition
- ID
- IsCustomizationAllowed
- IsFullyCached
- MarkedForDeletion
- Name
- ProductType
- RequiresAdministratorAccountNameInSysprep
- RequiresPIDInSysprep
- RequiresXMLSysprepFormat
- ServerConnection
- Version
- OrgName
- Owner
- ProductKeyHasValue
- ServerConnection
- CEIPOptIn
- CPUPriority
- Channel
- CompanyName
- DatabaseInstanceName
- DatabaseName
- DatabaseServerName
- DiskIOPriority
- EvaluationDaysLeft
- FQDN
- FullyQualifiedDomainName
- IsConnected
- IsEvaluationVersion
- IsWorkgroupEdition
- LibraryRefresherEnabled
- LibraryRefresherFrequency
- MOMReportingEnabled
- MOMReportingServerURL
- MemoryPriority
- MinimumSupportedAgentVersion
- Name
- NetworkPriority
- ObjectCache
- OpsMgrReportingEnabled
- OpsMgrReportingServerURL
- OpsMgrServer
- PROAutomationLevel
- PROMonitoringLevel
- PhysicalAddressRangeEnd
- PhysicalAddressRangeStart
- PlacementGoal
- ProductID
- ProductVersion
- Profile
- SelfServiceContactEmail
- ServerInterfaceVersion
- UserName
- VMConnectDefaultPort
- VMRCAccessAccount
- VMRCDefaultPort
- SysprepScript
- TimeZone
Example: Show all Guest OS Profiles
This example displays the guest OS profiles on the SCVMM library server SCVMMLibSrv:
dpmhv-showSCVMMOSProfiles
-scvmmHost SCVMMLibSrv
Example: Show all Guest OS Profiles without Password
This example displays all guest OS profiles without an Administrator password.
profs = dpmhv-showSCVMMOSProfiles -scvmmHost SCVMMLibSrv -retval -silent
for each(prof in profs)
{
if(prof.AdminPasswordHasValue=="false")
? prof.Name,"does not have an Admin password defined"
}
Copyright © 2013 CA.
All rights reserved.
|
|