PowerShell script exchange
Post Reply
Cookiie
Novice
Posts: 6
Liked: never
Joined: May 27, 2015 1:45 pm
Full Name: Michael Richter
Contact:

Type of Managed Servers

Post by Cookiie »

Hi there,

if i try to get a list of managed servers, they have all different types, VC, HvServer and so on.
It would be great to get a full list of all possible values.
It tried to look into the database, table Hosts should be my favorit, but it seeams that the types there are enum values, so i need again a matching.

Could you help?

Greetings
Michael Richter
veremin
Product Manager
Posts: 20282
Liked: 2257 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Type of Managed Servers

Post by veremin »

You can list all unique types of servers that are currently present inside your infrastructure via this one-liner:

Code: Select all

Get-VBRServer | select {$_.Type} -Unique
Or you want to get all values Type parameter can possibly have?

Thanks.
Cookiie
Novice
Posts: 6
Liked: never
Joined: May 27, 2015 1:45 pm
Full Name: Michael Richter
Contact:

Re: Type of Managed Servers

Post by Cookiie »

v.Eremin wrote: Or you want to get all values Type parameter can possibly have?
Yes, when this is possible.
veremin
Product Manager
Posts: 20282
Liked: 2257 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Type of Managed Servers

Post by veremin »

Here we go:

Code: Select all

ESX  
VC
Linux
Local
Windows 
ESXi 
HvServer
HvCluster 
Scvmm
BackupServer
SanHost
SmbServer 
SmbCluster
VcdSystem 
Cloud
Cookiie
Novice
Posts: 6
Liked: never
Joined: May 27, 2015 1:45 pm
Full Name: Michael Richter
Contact:

Re: Type of Managed Servers

Post by Cookiie »

Thx, this is helpful.
Maybe i need more help later, with other listtypes.

Greetings
veremin
Product Manager
Posts: 20282
Liked: 2257 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Type of Managed Servers

Post by veremin »

Having all possible values at hand is not always helpful, as in most cases you'd hardly see half of them in your infrastructure.

Anyway, ask for additional assistance, if required.

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests