-
Notifications
You must be signed in to change notification settings - Fork 52
Get HPOVServerProfileTemplate
Retrieve Server Profile Template resource(s).
Get-HPOVServerProfileTemplate[ [-Name] <String>][ [-ServerHardwareType] <String>][ [-Label] <String>][ [-Scope] <Object>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
Get-HPOVServerProfileTemplate[ [-Export] <SwitchParameter>][ [-Location] <String>][ [-Name] <String>][ [-ServerHardwareType] <String>][ [-Label] <String>][ [-Scope] <Object>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
Get-HPOVServerProfileTemplate[ [-Detailed] <SwitchParameter>][ [-Name] <String>][ [-ServerHardwareType] <String>][ [-Label] <String>][ [-Scope] <Object>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
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.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | false |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
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 |
-Export <SwitchParameter>
Aliases [-x] 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 |
-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 |
-Location <String>
Aliases [-save] 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 |
-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 |
-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
* HPOneView.Appliance.ScopeCollection
* HPOneView.Appliance.ConnectionPermission
Aliases | None |
Required? | False |
Position? | named |
Default value | AllResourcesInScope |
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 |
<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)
None
HPOneView.ServerProfileTemplate [System.Management.Automation.PSCustomObject]
Server Profile template resource
-------------------------- EXAMPLE 1 --------------------------$templates = Get-HPOVServerProfileTemplate
Return all the server profile templates managed by the appliance.
-------------------------- EXAMPLE 2 --------------------------$template = Get-HPOVServerProfileTemplate "SA"
Return the server profile template resource with name "SA".
-------------------------- EXAMPLE 3 --------------------------$profiletemplates = Get-HPOVServerProfileTemplate profile*
Return server profile template resources that match "profile*".
-------------------------- EXAMPLE 4 --------------------------Get-HPOVServerProfileTemplate 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-HPOVServerProfileTemplate -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 --------------------------Get-HPOVServerProfileTemplate -export -location c:\profiles
Save all Server Profile Template objects to their own backup file to C:\profiles.
-------------------------- EXAMPLE 7 --------------------------Get-HPOVServerProfileTemplate -name Profile1 -export -location c:\profiles
Save Profile1 Server Profile template object to its own backup file in C:\pro
- Convert-HPOVServerProfileTemplate
- ConvertTo-HPOVServerProfileTemplate
- New-HPOVServerProfileTemplate
- Remove-HPOVServerProfileTemplate
- Save-HPOVServerProfileTemplate
- Set-HPOVServerProfileTemplate
Retrieve Server Profile Template resource(s).
Get-HPOVServerProfileTemplate[ [-Name] <String>][ [-ServerHardwareType] <String>][ [-Label] <String>][ [-Scope] <Object>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
Get-HPOVServerProfileTemplate[ [-Export] <SwitchParameter>][ [-Location] <String>][ [-Name] <String>][ [-ServerHardwareType] <String>][ [-Label] <String>][ [-Scope] <Object>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
Get-HPOVServerProfileTemplate[ [-Detailed] <SwitchParameter>][ [-Name] <String>][ [-ServerHardwareType] <String>][ [-Label] <String>][ [-Scope] <Object>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
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.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | false |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
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 |
-Export <SwitchParameter>
Aliases [-x] 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 |
-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 |
-Location <String>
Aliases [-save] 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 |
-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 |
-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
* HPOneView.Appliance.ScopeCollection
* HPOneView.Appliance.ConnectionPermission
Aliases | None |
Required? | False |
Position? | named |
Default value | AllResourcesInScope |
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 |
<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)
None
HPOneView.ServerProfileTemplate [System.Management.Automation.PSCustomObject]
Server Profile template resource
-------------------------- EXAMPLE 1 --------------------------$templates = Get-HPOVServerProfileTemplate
Return all the server profile templates managed by the appliance.
-------------------------- EXAMPLE 2 --------------------------$template = Get-HPOVServerProfileTemplate "SA"
Return the server profile template resource with name "SA".
-------------------------- EXAMPLE 3 --------------------------$profiletemplates = Get-HPOVServerProfileTemplate profile*
Return server profile template resources that match 'profile*'.
-------------------------- EXAMPLE 4 --------------------------Get-HPOVServerProfileTemplate 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-HPOVServerProfileTemplate -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 --------------------------Get-HPOVServerProfileTemplate -export -location c:\profiles
Save all Server Profile Template objects to their own backup file to C:\profiles.
-------------------------- EXAMPLE 7 --------------------------Get-HPOVServerProfileTemplate -name Profile1 -export -location c:\profiles
Save Profile1 Server Profile template object to its own backup file in C:\pro
- Convert-HPOVServerProfileTemplate
- ConvertTo-HPOVServerProfileTemplate
- New-HPOVServerProfileTemplate
- Remove-HPOVServerProfileTemplate
- Save-HPOVServerProfileTemplate
- Set-HPOVServerProfileTemplate