18 mars 2013
Backing up Hyper-V virtual machines from the command line
Last week I posted about how you can now use Windows Server Backup in Windows Server 2012 to backup virtual machines. One of the first questions that people had was “how do I do this from the command-line?” So – let me show you!
The tool you will want to use is “wbadmin.exe”
Backing up a virtual machine is fairly straight forward. Your command will look like this:
wbadmin start backup –backupTarget:<location to backup to> –hyperv:<list of virtual machines to backup>
--> Please see the rest on the... [Lire la suite]
27 septembre 2012
No More Setup.Com In Exchange 2013
Exchange admins who have installed Exchange 2010 using the command line will be familiar with the Setup.Com, which was part of the 2010 ISO/DVD. It doesn’t exist in Exchange 2013!
In Exchange 2010, we used setup.exe to install the product using the GUI and Setup.Com to install it from a command line.
So, how are we supposed to run the setup from command line in 2013? I can hear you asking . Well, the answer is really simple. In Exchange 2013, the setup.exe is used for both purposes – installing from the command line and... [Lire la suite]
29 novembre 2011
Top 10 Server 2008 Tasks done with PowerShell – Part 1
Voici un premier article d'une série intéressante....
Introduction
There are lots of server tasks in Windows Server 2008 that can be done much faster with Windows PowerShell than with a GUI. What you’ll find in this article series are ten common server tasks all done on PowerShell.
In this two part mini-series you’ll learn how to:
Change the local administrator password with PowerShell
Restart or shutdown a server with PowerShell
Restart a service with PowerShell
Terminate a process with PowerShell
Create a disk... [Lire la suite]
22 novembre 2011
ESXi commandline work…
am just playing around in my lab and needed to do a couple of common ESXi commandline tasks which I figured I would document as they will come in handy at some point.
List all VMs registered to this host (This reveals the Vmid needed for other commands)vim-cmd /vmsvc/getallvms
Unregister a VMvim-cmd /vmsvc/unregister <Vmid>
Register a VMvim-cmd /solo/register /path/to/file.vmx
Get power state of a VMvim-cmd /vmsvc/power.getstate <Vimid>
Power off a VMvim-cmd /vmsvc/power.off <Vmid>
Power on a VMvim-cmd... [Lire la suite]
23 août 2011
Safely erase old data with the Format command
As explained in this article there are some important changes in Windows 2008 and 2008 R2 regarding how the formatting of a partition is done. Shortly, when doing a non-quick format the whole drive is overwritten once, compared to Windows 2003 where all information on the main disk area was left behind.
If there is data on a partition that should be permanently and safely erased there are plenty of third party tools that could do this, but it is important to know that we have some possibility already builtin. However,... [Lire la suite]
26 janvier 2010
Hyper-V Network Command Line Tool NVSPBIND Now Available Externally
Until now, Hyper-V administrators using Server Core installs of Windows Server 2008 or Microsoft Hyper-V Server were unable to enable and disable protocol bindings from the parent partition due to the lack of a graphical network control panel only available in full installs of Windows Server.
I'm pleased to announce one of our developers on the Hyper-V team, Keith Mange, recently addressed this gap with the release of his (previously Microsoft internal-only) networking tool NVSPBIND.EXE publicly on. See it here.
This... [Lire la suite]
17 mars 2009
esxcfg-scsidevs, Exploring the next version of ESX!
Whenever I do a beta test of a product / OS the first thing I do is check if all the features / commands that I used with the previous version still exist. When I did an “esxcfg- tab tab” on the next version of ESX one thing stood out, esxcfg-vmhbadevs was gone. I use this command a lot when investigating SAN problems, same goes for esxcfg-mpath by the way. Both print really valuable information that I usually copy & paste for keeping track of changes.
With the upcoming version of ESX(vSphere) a new command will be introduced... [Lire la suite]