[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 332
  • Last Modified:

MS Windows - how to distinguish between dedicated server from VPS or cloud?

How to distinguish Windows Server as physical (dedicated) server, VPS or cloud?

Which command or utility can do this for my?
Or whatever else can be?




0
longjumps
Asked:
longjumps
  • 3
  • 2
1 Solution
 
Joseph DalyCommented:
I just tested this on a few of my machines and it works well.

wmic /node:"COMPUTERNAME" computersystem get model, manufacturer

For a VM I got
Manufacturer  Model
VMware, Inc.  VMware Virtual Platform

For a physical machine you will get somethign similar to below with the model etc.
Manufacturer  Model
Dell Inc.     PowerEdge R200


0
 
PapertripCommented:
It all depends on how your provider has it setup, contact them.
0
 
longjumpsAuthor Commented:
I run "msic" command in my Win7 and got error:
C:\Users\Semyon>wmic /node:"COMPUTERNAME" computersystem get model, manufacturer

Node - COMPUTERNAME
ERROR:
Description = The RPC server is unavailable.


0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Joseph DalyCommented:
Did you replace computername with a name of an actual computer?

Are you testing this on one of your local physical server or on one of the cloud servers? Its possible WMI may be blocked somewhere.
0
 
longjumpsAuthor Commented:
I tried to put my server name, but still didn't get information

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Semyon>wmic /node:"STATION2-LT" computersystem get model, manufacturer
Node - STATION2-LT
ERROR:
Description = The RPC server is unavailable.



C:\Users\Semyon>wmic /node:"STATION2-LT.appli.local" computersystem get model, m
anufacturer
Node - STATION2-LT.appli.local
ERROR:
Description = The RPC server is unavailable.

Please advice
0
 
longjumpsAuthor Commented:
Generally I checked
wmic /node:"COMPUTERNAME" computersystem get model, manufacturer

on physical and vps and seems fine.

I need to check it on cloud.

Also, once I used as COMPUTERNAME "STATION2-LT.appli.local" it is trying run some RPC as I understood from the error above.
But with physical name it is ok "STATION2-LT", why?
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now