-
Notifications
You must be signed in to change notification settings - Fork 52
Start HPOVServer
Power on Server Resource.
Start-HPOVServer [-InputObject] <Object> [-ApplianceConnection] <Object>[ [-Async] <SwitchParameter>] [<CommonParameters>]
Start the power state of the server using the virtual power button.
-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? | 1 |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Async <SwitchParameter>
Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-Server]
A Server hardware or Server Profile resource object.
Aliases | Server |
Required? | true |
Position? | 0 |
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)
HPOneView.ServerHardware [System.Management.Automation.PSCustomObject]
Server Hardware Resource
HPOneView.ServerProfile [System.Management.Automation.PSCustomObject]
Server Profile Resource
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Async task that tracks the power state change
System.Collections.ArrayList <HPOneView.Appliance.TaskResource>
Multiple Async tasks
-------------------------- EXAMPLE 1 --------------------------Get-HPOVServer "Encl1, Bay 1" | Start-HPOVServer
Power on the specific server device by passing the Server Object via pipeline.
-------------------------- EXAMPLE 2 --------------------------Get-HPOVServer "Encl1, *" | Start-HPOVServer -Async
Power on the server devices found by passing the Server Object via pipeline, and return the async task immediately.
-------------------------- EXAMPLE 3 --------------------------Get-HPOVServerProfile "MyWebServer 1" | Start-HPOVServer
Power on the specific server device by passing the Server Profile Object via pipeline.
- Add-HPOVServer
- Convert-HPOVServerProfile
- Convert-HPOVServerProfileTemplate
- ConvertTo-HPOVServerProfileTemplate
- Copy-HPOVServerProfile
- Get-HPOVServer
- Get-HPOVServerHardwareType
- Get-HPOVServerProfile
- Get-HPOVServerProfileConnectionList
- Get-HPOVServerProfileMessage
- Get-HPOVServerProfileTemplate
- Join-HPOVServerProfileToTemplate
- New-HPOVServerProfile
- New-HPOVServerProfileAssign
- New-HPOVServerProfileAttachVolume
- New-HPOVServerProfileConnection
- New-HPOVServerProfileLogicalDisk
- New-HPOVServerProfileLogicalDiskController
- New-HPOVServerProfileTemplate
- Remove-HPOVServer
- Remove-HPOVServerProfile
- Remove-HPOVServerProfileTemplate
- Restart-HPOVServer
- Save-HPOVServerProfile
- Save-HPOVServerProfileTemplate
- Set-HPOVServerHardwareType
- Set-HPOVServerPower
- Set-HPOVServerProfile
- Set-HPOVServerProfileTemplate
- Stop-HPOVServer
- Update-HPOVServer
- Update-HPOVServerHardwareLicenseIntent
- Update-HPOVServerProfile
Power on Server Resource.
Start-HPOVServer [-InputObject] <Object> [-ApplianceConnection] <Object>[ [-Async] <SwitchParameter>] [<CommonParameters>]
Start the power state of the server using the virtual power button.
-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? | 1 |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Async <SwitchParameter>
Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-Server]
A Server hardware or Server Profile resource object.
Aliases | Server |
Required? | true |
Position? | 0 |
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)
HPOneView.ServerHardware [System.Management.Automation.PSCustomObject]
Server Hardware Resource
HPOneView.ServerProfile [System.Management.Automation.PSCustomObject]
Server Profile Resource
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Async task that tracks the power state change
System.Collections.ArrayList <HPOneView.Appliance.TaskResource>
Multiple Async tasks
-------------------------- EXAMPLE 1 --------------------------Get-HPOVServer "Encl1, Bay 1" | Start-HPOVServer
Power on the specific server device by passing the Server Object via pipeline.
-------------------------- EXAMPLE 2 --------------------------Get-HPOVServer "Encl1, *" | Start-HPOVServer -Async
Power on the server devices found by passing the Server Object via pipeline, and return the async task immediately.
-------------------------- EXAMPLE 3 --------------------------Get-HPOVServerProfile "MyWebServer 1" | Start-HPOVServer
Power on the specific server device by passing the Server Profile Object via pipeline.
- Add-HPOVServer
- Convert-HPOVServerProfile
- Convert-HPOVServerProfileTemplate
- ConvertTo-HPOVServerProfileTemplate
- Copy-HPOVServerProfile
- Get-HPOVServer
- Get-HPOVServerHardwareType
- Get-HPOVServerProfile
- Get-HPOVServerProfileConnectionList
- Get-HPOVServerProfileMessage
- Get-HPOVServerProfileTemplate
- Join-HPOVServerProfileToTemplate
- New-HPOVServerProfile
- New-HPOVServerProfileAssign
- New-HPOVServerProfileAttachVolume
- New-HPOVServerProfileConnection
- New-HPOVServerProfileLogicalDisk
- New-HPOVServerProfileLogicalDiskController
- New-HPOVServerProfileTemplate
- Remove-HPOVServer
- Remove-HPOVServerProfile
- Remove-HPOVServerProfileTemplate
- Restart-HPOVServer
- Save-HPOVServerProfile
- Save-HPOVServerProfileTemplate
- Set-HPOVServerHardwareType
- Set-HPOVServerPower
- Set-HPOVServerProfile
- Set-HPOVServerProfileTemplate
- Stop-HPOVServer
- Update-HPOVServer
- Update-HPOVServerProfile