transitioning to scvmm
This commit is contained in:
parent
4edadde27d
commit
30694dc72f
@ -36,10 +36,8 @@ class VirtualizationServer {
|
||||
$this.__load_hosts()
|
||||
}
|
||||
|
||||
[Array] $__host_list=@()
|
||||
[Array] $host_list{
|
||||
return $this.__host_list
|
||||
}
|
||||
hidden [Array] $__host_list=@()
|
||||
[Array] $host_list = $this.__host_list
|
||||
|
||||
}
|
||||
class SystemCenterVirtualMachineManager {
|
||||
@ -90,9 +88,8 @@ class VirtualizerManager{
|
||||
}
|
||||
return $result
|
||||
}
|
||||
[Hashtable] $found_vh{
|
||||
return $this.__found_vh
|
||||
}
|
||||
[Hashtable] $found_vh = $this.__found_vh
|
||||
|
||||
append_session($type,$url)
|
||||
{
|
||||
$type.GetType().IsValueType
|
||||
@ -120,7 +117,7 @@ class VirtualizerManager{
|
||||
}
|
||||
}
|
||||
__append_vhost($vhost,$source_url){
|
||||
if ($this.__host_list[$vhost.Name] -isnot [system.Hashtable]){
|
||||
if ($this.__host_list[$vhost.Name] -isnot [Hashtable]){
|
||||
$this.__host_list[$vhost.Name]=@{}
|
||||
}
|
||||
$this.__host_list[$vhost.Name.ToLower()][$source_url]=$vhost
|
||||
@ -145,7 +142,7 @@ class VirtualizerManager{
|
||||
}
|
||||
}
|
||||
else {
|
||||
[String]::Format("`t---- Couldn't be found ",$server.url) | Write-Host
|
||||
[String]::Format("`t---- Couldn't be found") | Write-Host
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user