Get-SCPXEServer
Get-SCPXEServer
Gets a PXEServer object from the VMM database.
Syntax
Parameter Set: ID
Get-SCPXEServer [-ID <Guid]> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Parameter Set: Name
Get-SCPXEServer [-ComputerName <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Detailed Description
The Get-SCPXEServer cmdlet gets one or more PXEServer objects from the Virtual Machine Manager (VMM) database.
For information about adding a PXEServer object to VMM, type Get-Help Add-SCPXEServer -detailed
.
Parameters
-ComputerName<String>
Specifies the name of a computer that VMM can uniquely identify on your network. Valid formats are:
-- FQDN
-- IPv4 or IPv6 address
-- NetBIOS name
NOTE: See the examples for a specific cmdlet to determine how that cmdlet specifies the computer name.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-ID<Guid]>
Specifies the numerical identifier as a globally unique identifier (GUID) for a specific object.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-VMMServer<ServerConnection>
Specifies a VMM server object.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
- PXEServer
Examples
Example 1: Retrieve a PXE server by its name
This command gets the PXE server named WDSServer01.
PS C:\> Get-SCPXEServer -ComputerName "WDSServer01.Contoso.com"