-
Notifications
You must be signed in to change notification settings - Fork 52
Remove HPOVServerProfileTemplate
Delete Server Profile Template Resource(s).
Remove-HPOVServerProfileTemplate [-ServerProfileTemplate] <Object> [-ApplianceConnection] <Object>[ [-force] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Delete one or multiple Server Profile Template resource(s). A Server Profile Template cannot be removed if there are linked Server Profiles.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Confirm <SwitchParameter>
Aliases | cf |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-ServerProfileTemplate <Object>
Aliases [-spt, -name] The server profile template object(s) or name(s) to be removed.
Aliases | spt, name |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-WhatIf <SwitchParameter>
Aliases | wi |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-force <SwitchParameter>
Set to force-delete the profile. For example, force-remove will successfully remove the profile, even when connectivity has been lost to the server or enclosure.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
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)
HPOneView.ServerProfileTemplate [System.Management.Automation.PSCustomObject]
Server Profile Template resource object.
System.String
Server Profile Template resource name.
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
A task resource that can be monitored for status of the profile deletion
System.Collections.ArrayList <HPOneView.Appliance.TaskResource>
Multiple Async task resources.
-------------------------- EXAMPLE 1 --------------------------$task = Remove-HPOVServerProfileTemplate -ServerProfileTemplate "My Template Profile" Wait-HPOVTaskComplete $task.uri
Remove the profile template specifed by name. Wait for remove to complete.
-------------------------- EXAMPLE 2 --------------------------$spt = Get-HPOVServerProfileTemplate -name "My Template Profile" Remove-HPOVServerProfileTemplate $spt -confirm:$false
Remove the profile template specifed by $spt. Disable confirmation prompt.
-------------------------- EXAMPLE 3 --------------------------Get-HPOVServerProfileTemplate | Remove-HPOVServerProfileTemplate
Search for all profile template resources and remove them from appliance.
- Convert-HPOVServerProfileTemplate
- ConvertTo-HPOVServerProfileTemplate
- Get-HPOVServerProfileTemplate
- New-HPOVServerProfileTemplate
- Save-HPOVServerProfileTemplate
- Set-HPOVServerProfileTemplate
Delete Server Profile Template Resource(s).
Remove-HPOVServerProfileTemplate [-ServerProfileTemplate] <Object> [-ApplianceConnection] <Object>[ [-force] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Delete one or multiple Server Profile Template resource(s). A Server Profile Template cannot be removed if there are linked Server Profiles.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Confirm <SwitchParameter>
Aliases | cf |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-ServerProfileTemplate <Object>
Aliases [-spt, -name] The server profile template object(s) or name(s) to be removed.
Aliases | spt, name |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-WhatIf <SwitchParameter>
Aliases | wi |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-force <SwitchParameter>
Set to force-delete the profile. For example, force-remove will successfully remove the profile, even when connectivity has been lost to the server or enclosure.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
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)
HPOneView.ServerProfileTemplate [System.Management.Automation.PSCustomObject]
Server Profile Template resource object.
System.String
Server Profile Template resource name.
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
A task resource that can be monitored for status of the profile deletion
System.Collections.ArrayList <HPOneView.Appliance.TaskResource>
Multiple Async task resources.
-------------------------- EXAMPLE 1 --------------------------$task = Remove-HPOVServerProfileTemplate -ServerProfileTemplate "My Template Profile" Wait-HPOVTaskComplete $task.uri
Remove the profile template specifed by name. Wait for remove to complete.
-------------------------- EXAMPLE 2 --------------------------$spt = Get-HPOVServerProfileTemplate -name "My Template Profile" Remove-HPOVServerProfileTemplate $spt -confirm:$false
Remove the profile template specifed by $spt. Disable confirmation prompt.
-------------------------- EXAMPLE 3 --------------------------Get-HPOVServerProfileTemplate | Remove-HPOVServerProfileTemplate
Search for all profile template resources and remove them from appliance.
- Convert-HPOVServerProfileTemplate
- ConvertTo-HPOVServerProfileTemplate
- Get-HPOVServerProfileTemplate
- New-HPOVServerProfileTemplate
- Save-HPOVServerProfileTemplate
- Set-HPOVServerProfileTemplate