Get-OVServerProfileTemplate
Syntax
Get-OVServerProfileTemplate
[-Name <String>]
[-ServerHardwareType <String>]
[-Label <String>]
[-Scope <Object>]
[-ApplianceConnection <Object>]
[<CommonParameters>]
Get-OVServerProfileTemplate
[-Export]
[-Location <String>]
[-Name <String>]
[-ServerHardwareType <String>]
[-Label <String>]
[-Scope <Object>]
[-ApplianceConnection <Object>]
[<CommonParameters>]
Get-OVServerProfileTemplate
[-Detailed]
[-Name <String>]
[-ServerHardwareType <String>]
[-Label <String>]
[-Scope <Object>]
[-ApplianceConnection <Object>]
[<CommonParameters>]
Description
This Cmdlet will obtain a collection of Server Profile Template resources, or a specific Server Profile Template with the specified name. It returns all aspects of the Server Profile Template.
This will also provide the ability to export Server Profile Template objects to their own JSON encoded file. All appliance unique properties (minus the Server Hardware Type, Enclosure Group, and Connection Network assignment) are removed. Connection layout, assigned addresses, networks, bandwidth, BIOS, Boot Order, Firmware settings will all be retained. Assigned Address types will change from Virtual to UserDefined in order to retain their assignment.
Examples
Example 1
Return all the server profile templates managed by the appliance.
Example 2
Return the server profile template resource with name "SA".
Example 3
Return server profile template resources that match "profile*".
Example 4
Get-OVServerProfileTemplate
Profile Name Managing BIOS Managing Firmware Assigned State
------------ ------------- ----------------- -------- -----
Copy of test 2 False False Unassigned Normal
Test 1 False False Unassigned Normal
test 3 False False Unassigned Normal
Generate a list of all server profiles.
Example 5
Get-OVServerProfileTemplate -name "test 1"
Profile Name Managing BIOS Managing Firmware Assigned State
------------ ------------- ----------------- -------- -----
Test 1 False False Unassigned Normal
Show a specific Server Profile Template, "test 1".
Example 6
Save all Server Profile Template objects to their own backup file to C:\profiles.
Example 7
Save Profile1 Server Profile template object to its own backup file in C:\pro
Parameters
-Name <String>
The name of the specific Server Profile Template resource to retrieve
| Aliases | profile |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-ServerHardwareType <String>
Provide the Server Hardware Type resource object or name to return Server Profile Templates designed for it.
| Aliases | None |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | |
| Accept pipeline input? | true (ByValue) |
| Accept wildcard characters? | False |
-Scope <Object>
Filter resources based on provided Scope membership. By default, all resources for the accounts Active Permissions will be displayed. Allowed values:
- AllResources
- AllResourcesInScope
[HPEOneView.Appliance.ScopeCollection][HPEOneView.Appliance.ConnectionPermission]
| Aliases | None |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | AllResourcesInScope |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-Label <String>
Specify the label associated with resources.
| Aliases | None |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | False |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-Detailed <SwitchParameter>
Displays detailed information about the Server Profile Template in tabular format
| Aliases | None |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | False |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-ApplianceConnection <Object>
Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s).
| Aliases | Appliance |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | (${Global:ConnectedSessions} | ? Default) |
| Accept pipeline input? | true (ByPropertyName) |
| Accept wildcard characters? | False |
-Export <SwitchParameter>
Switch used to export Server Profile Template object to JSON encoded file.
| Aliases | x |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | False |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-Location <String>
Location where to save the Server Profile Template file.
| Aliases | save |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | |
| Accept pipeline input? | false |
| 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 (http://go.microsoft.com/fwlink/?LinkID=113216)
Input Types
Return Values
Server Profile template resource