< Back
Get-HPEOSPWindowsUnattendInfo
Post
NAME Get-HPEOSPWindowsUnattendInfo
SYNOPSIS
The Get-HPEOSPWindowsUnattendInfo cmdlet gets the unattended answer file configurations.
SYNTAX
Get-HPEOSPWindowsUnattendInfo [-ImageFile] <String> [<CommonParameters>]
DESCRIPTION
The Get-HPEOSPWindowsUnattendInfo cmdlet gets the unattended answer file configurations as follows:
???? ImageFile - Displays the input ISO full path.
???? ImageIndex - Gets the install from image index in install.wim.
???? ImageName - Gets the install from image name in install.wim.
???? ProductKey - Gets the product key to apply for Windows operating system.
???? SetupLanguage - Gets the Windows Setup language.
???? ComputerName - Gets the computer name used to access the computer from the network.
???? UserLocale - Gets the system language settings to display UI items, date, time, and currency.
???? KeyboardMethod - Gets the language of keyboard input layout.
???? TimeZone - Gets the time zone for the server.
???? DiskPartitionMode - Gets the disk partition mode, which can be either LegacyBIOS or UEFI.
???? InstallToDiskID - Gets the disk ID to install the Windows operating system.
???? MainPartitionLabel - Gets the label of the main partition.
???? MainPartitionLetter - Gets the letter of the main partition.
???? Username - Gets the name of Windows local account.
???? Password - Gets the password of the local user account.
PARAMETERS
-ImageFile <String>
Specifies the Windows ISO file as input. The value must be the Windows local full path.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OUTPUTS
System.Management.Automation.PSObject[]
NOTES
???? This cmdlet only supports Windows Server 2012 R2 or Windows Server 2016 ISO.
???? The input Windows ISO should have unattended answer file already.
EXAMPLE 1
PS C:\\> Get-HPEOSPWindowsUnattendInfo -ImageFile C:\\TestFolder\\WindowsServer2016.iso
ImageFile : C:\\TestFolder\\WindowsServer2016.iso
ImageIndex : 2
ImageName : Windows Server 2016 SERVERSTANDARD
ProductKey :
SetupLanguage : English
ComputerName : *
UserLocale : English - United States
KeyboardMethod : English - United States
TimeZone : (GMT-08:00) Pacific Time (US and Canada); Tijuana
DiskPartitionMode : UEFI
InstallToDiskID : 0
MainPartitionLabel : Windows
MainPartitionLetter : C
Username : Administrator
Password : admin@123
PS C:\\>
This example shows how to get the unattended answer file configurations from input ISO.
RELATED LINKS
http://www.hpe.com/servers/powershell
Edit-HPEOSPWindowsUnattend
Remove-HPEOSPWindowsUnattend
Use-HPEOSPWindowsUnattend
SYNOPSIS
The Get-HPEOSPWindowsUnattendInfo cmdlet gets the unattended answer file configurations.
SYNTAX
Get-HPEOSPWindowsUnattendInfo [-ImageFile] <String> [<CommonParameters>]
DESCRIPTION
The Get-HPEOSPWindowsUnattendInfo cmdlet gets the unattended answer file configurations as follows:
???? ImageFile - Displays the input ISO full path.
???? ImageIndex - Gets the install from image index in install.wim.
???? ImageName - Gets the install from image name in install.wim.
???? ProductKey - Gets the product key to apply for Windows operating system.
???? SetupLanguage - Gets the Windows Setup language.
???? ComputerName - Gets the computer name used to access the computer from the network.
???? UserLocale - Gets the system language settings to display UI items, date, time, and currency.
???? KeyboardMethod - Gets the language of keyboard input layout.
???? TimeZone - Gets the time zone for the server.
???? DiskPartitionMode - Gets the disk partition mode, which can be either LegacyBIOS or UEFI.
???? InstallToDiskID - Gets the disk ID to install the Windows operating system.
???? MainPartitionLabel - Gets the label of the main partition.
???? MainPartitionLetter - Gets the letter of the main partition.
???? Username - Gets the name of Windows local account.
???? Password - Gets the password of the local user account.
PARAMETERS
-ImageFile <String>
Specifies the Windows ISO file as input. The value must be the Windows local full path.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName, ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
OUTPUTS
System.Management.Automation.PSObject[]
NOTES
???? This cmdlet only supports Windows Server 2012 R2 or Windows Server 2016 ISO.
???? The input Windows ISO should have unattended answer file already.
EXAMPLE 1
PS C:\\> Get-HPEOSPWindowsUnattendInfo -ImageFile C:\\TestFolder\\WindowsServer2016.iso
ImageFile : C:\\TestFolder\\WindowsServer2016.iso
ImageIndex : 2
ImageName : Windows Server 2016 SERVERSTANDARD
ProductKey :
SetupLanguage : English
ComputerName : *
UserLocale : English - United States
KeyboardMethod : English - United States
TimeZone : (GMT-08:00) Pacific Time (US and Canada); Tijuana
DiskPartitionMode : UEFI
InstallToDiskID : 0
MainPartitionLabel : Windows
MainPartitionLetter : C
Username : Administrator
Password : admin@123
PS C:\\>
This example shows how to get the unattended answer file configurations from input ISO.
RELATED LINKS
http://www.hpe.com/servers/powershell
Edit-HPEOSPWindowsUnattend
Remove-HPEOSPWindowsUnattend
Use-HPEOSPWindowsUnattend