Quantcast
Channel: Virtual Machine Manager – General forum
Viewing all articles
Browse latest Browse all 4089

Force Remove Network Service in VMM 2012 R2

$
0
0

How to force remove decommissioned missednetworkservice viaposchershell?

I amtryingthroughpowershell:

$networkservice =Get-SCNetworkService -Name "NetworkVirtulizationGateway01" -ID "84433ae3-3197-438f-9d2a-d8da38def52e"

Remove-SCNetworkService -NetworkService $networkservice

Getting error:

Remove-SCNetworkService : Unable to connect to the network service. Check connection string and network connectivity. Error Execution of Microsoft.Syst
emCenter.NetworkService::OpenDeviceConnectionEx on the configuration provider 4ee559f1-f479-480c-9458-d14b8b1c1779 failed. Detailed exception: Microsof
t.VirtualManager.Utils.CarmineException: Unable to determine all the active nodes of the cluster. Error The WinRM client cannot process the request bec
ause the server name cannot be resolved.
Bring the node and/or cluster name resource online and retry the operation again.
Check the documentation for the configuration provider or contact the publisher support.

(Error ID: 50000)
 
Unable to connect to the network service. Check connection string and network connectivity.
 
To restart the job, run the following command:
PS> Restart-Job -Job (Get-VMMServer vmmha01 | Get-Job | where { $_.ID -eq "{ca3244dd-dd2b-4873-adef-13fe44fb4b17}"})
At line:1 char:1
+ Remove-SCNetworkService -NetworkService $networkService -RunAsynchronously
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (:) [Remove-SCNetworkService], CarmineException
    + FullyQualifiedErrorId : 50000,Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.RemoveSCNetworkServiceCmdlet






Viewing all articles
Browse latest Browse all 4089

Trending Articles