< Back
Disconnect-iBMCVirtualMedia
Post
NAME Disconnect-iBMCVirtualMedia
SYNOPSIS
Disconnect virtual media.
SYNTAX
Disconnect-iBMCVirtualMedia [-Session] <RedfishSession[]> [<CommonParameters>]
DESCRIPTION
Disconnect virtual media.
PARAMETERS
-Session <RedfishSession[]>
iBMC redfish session object which is created by Connect-iBMC cmdlet.
A session object identifies an iBMC server to which this cmdlet will be executed.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
PSObject[]
Returns the Disconnect Virtual Media task details if cmdlet executes successfully.
In case of an error or warning, exception will be returned.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> $Tasks = Disconnect-iBMCVirtualMedia $session
PS C:\\> $Tasks
Host : 10.1.1.2
Id : 4
Name : vmm disconnect status task
ActivityName : [10.1.1.2] vmm disconnect status task
TaskState : Completed
StartTime : 2018-11-14T18:05:20+08:00
EndTime : 2018-11-14T18:05:20+08:00
TaskStatus : OK
TaskPercent :
RELATED LINKS
https://github.com/Huawei/Huawei-iBMC-Cmdlets
Get-iBMCVirtualMedia
Connect-iBMCVirtualMedia
Connect-iBMC
Disconnect-iBMC
SYNOPSIS
Disconnect virtual media.
SYNTAX
Disconnect-iBMCVirtualMedia [-Session] <RedfishSession[]> [<CommonParameters>]
DESCRIPTION
Disconnect virtual media.
PARAMETERS
-Session <RedfishSession[]>
iBMC redfish session object which is created by Connect-iBMC cmdlet.
A session object identifies an iBMC server to which this cmdlet will be executed.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
PSObject[]
Returns the Disconnect Virtual Media task details if cmdlet executes successfully.
In case of an error or warning, exception will be returned.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> $Tasks = Disconnect-iBMCVirtualMedia $session
PS C:\\> $Tasks
Host : 10.1.1.2
Id : 4
Name : vmm disconnect status task
ActivityName : [10.1.1.2] vmm disconnect status task
TaskState : Completed
StartTime : 2018-11-14T18:05:20+08:00
EndTime : 2018-11-14T18:05:20+08:00
TaskStatus : OK
TaskPercent :
RELATED LINKS
https://github.com/Huawei/Huawei-iBMC-Cmdlets
Get-iBMCVirtualMedia
Connect-iBMCVirtualMedia
Connect-iBMC
Disconnect-iBMC