Get-UalSystemId

Get-UalSystemId

Gets information that can uniquely identify a server.

Sintaxis

Parameter Set: ByName
Get-UalSystemId [-AsJob] [-CimSession <CimSession[]> ] [-CoresPerPhysicalProcessor <UInt32[]> ] [-CreationTime <DateTime[]> ] [-LogicalProcessorsPerPhysicalProcessor <UInt32[]> ] [-MaximumMemory <UInt64[]> ] [-OSBuildNumber <UInt32[]> ] [-OSCountryCode <String[]> ] [-OSCurrentTimeZone <Int16[]> ] [-OSDaylightInEffect <Boolean[]> ] [-OSLastBootUpTime <DateTime[]> ] [-OSMajor <UInt32[]> ] [-OSMinor <UInt32[]> ] [-OSPlatformId <UInt32[]> ] [-OSProductType <UInt32[]> ] [-OSSerialNumber <String[]> ] [-OSSuiteMask <UInt32[]> ] [-PhysicalProcessorCount <UInt32[]> ] [-ServicePackMajor <UInt32[]> ] [-ServicePackMinor <UInt32[]> ] [-SystemDNSHostName <String[]> ] [-SystemDomainName <String[]> ] [-SystemManufacturer <String[]> ] [-SystemProductName <String[]> ] [-SystemSerialNumber <String[]> ] [-SystemSMBIOSUUID <String[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Descripción detallada

The Get-UalSystemId cmdlet gets information that can uniquely identify a server. Use the CimSession parameter to run the cmdlet on a remote server. Otherwise, the cmdlet refers to the local server.

This cmdlet returns an MsftUal_SystemId object. You can specify one or more parameters, such as the CoresPerPhysicalProcessor parameter. If you do so, the cmdlet only returns an object if it matches the specified value.

Parámetros

-AsJob

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-CimSession<CimSession[]>

Ejecuta el cmdlet en una sesión remota o en un equipo remoto. Escriba un nombre de equipo o un objeto de sesión, como la salida de un cmdlet New-CimSession o Get-CimSession. El valor predeterminado es la sesión actual en el equipo local.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-CoresPerPhysicalProcessor<UInt32[]>

Specifies an array of values. Each value specifies the number of cores for the physical processor of the system.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-CreationTime<DateTime[]>

Specifies an array of DateTime objects. Each object is the date and time that the current operating system became operational with this set of system identity properties. If the properties of a system change, the operating system creates a new MsftUal_SystemId object.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-LogicalProcessorsPerPhysicalProcessor<UInt32[]>

Specifies an array of values. Each value specifies the number of logical processors for an instance of a Hyper-Thread capable physical processor in the system.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-MaximumMemory<UInt64[]>

Specifies an array of values. Each value represents the maximum memory size, in bytes, for the system. For a virtual machine, this value represents the memory size of the virtual machine as configured by the hypervisor. .

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-OSBuildNumber<UInt32[]>

Specifies an array of values. Each value represents the build number for the operating system.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-OSCountryCode<String[]>

Specifies an array of strings. Each value is a code for the country or region that an operating system uses, based on international phone prefixes.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

true

-OSCurrentTimeZone<Int16[]>

Specifies an array of values. Each value represents an offset, in minutes, between the operating system time and Greenwich Mean Time (GMT). The value can be positive, negative, or zero.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-OSDaylightInEffect<Boolean[]>

Specifies an array of Boolean values. If a value is $True, daylight saving time is in effect.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-OSLastBootUpTime<DateTime[]>

Specifies an array of DateTime objects. A value represents the last time the operating system was restarted.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-OSMajor<UInt32[]>

Specifies an array of values. Each value represents the major portion of the version number of an operating system.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-OSMinor<UInt32[]>

Specifies an array of values. Each value represents the minor portion of the version number of an operating system.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-OSPlatformId<UInt32[]>

Specifies an array of values. Each value represents an operating system platform. Los valores aceptables para este parámetro son los siguientes:
-- 1. An unsupported Windows system.
-- 2. A supported Windows system.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-OSProductType<UInt32[]>

Specifies an array of values. Each value represents an operating system product type. Los valores aceptables para este parámetro son los siguientes:
-- 1. Standard Edition of a server product.
-- 2. Enterprise Edition of a server product.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-OSSerialNumber<String[]>

Specifies an array of strings. Each string is an operating system product serial number.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

true

-OSSuiteMask<UInt32[]>

Specifies an array of values. Each value represents the suite mask for an system. A suite mask is a combination of bit flags that identify the product suites available on the system.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-PhysicalProcessorCount<UInt32[]>

Specifies an array of values. Each value represents the number of physical processors available on the local system. This number does not include the disabled processors.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-ServicePackMajor<UInt32[]>

Specifies an array of values. Each value represents the major portion of the version number of a service pack.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-ServicePackMinor<UInt32[]>

Specifies an array of values. Each value represents the minor portion of the version number of a service pack.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-SystemDNSHostName<String[]>

Specifies an array of strings. Each string is a server name according to the Domain Name System (DNS) server.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

true

-SystemDomainName<String[]>

Specifies an array of strings. Each sting is the name of the domain or workgroup that the server belongs to.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

false

-SystemManufacturer<String[]>

Specifies an array of strings. Each string represents the name of the BIOS manufacturer.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

true

-SystemProductName<String[]>

Specifies an array of strings. Each string represents the product name specified in the system BIOS.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

true

-SystemSerialNumber<String[]>

Specifies an array of strings. Each string represents a unit identification for a server.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

true

-SystemSMBIOSUUID<String[]>

Specifies an array of strings. Each string represents the universally unique identifier (UUID) for this server unit as reported by the SMBIOS.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByPropertyName)

¿Aceptar caracteres comodín?

true

-ThrottleLimit<Int32>

Especifica el número máximo de operaciones simultáneas que se pueden establecer para ejecutar el cmdlet. Si se omite este parámetro o es especifica un valor de 0, Windows PowerShell ® calcula un límite óptimo para el cmdlet en función del número de cmdlets de CIM que se estén ejecutando en el equipo. El límite solo se aplica al cmdlet actual, no a la sesión ni al equipo.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

Ejemplos

Example 1: Get system information

This command gets an MsftUal_SystemId object for the current system.

PS C:\> Get-UalSystemId

Temas relacionados

Get-UalOverview

Get-Ual