Tag Archives: persistent

Windows: Backup with diskshadow.exe

Hello,

Windows Server 2008 and alter version are shipped with a tool called diskshadow. This program can be used to create snapshots of disks and expose them as Folder or as DriveLetter means files are in a consistent state and you can save openfiles.

Some examples. Starting diskshadow. It accept a  parameter /l  for a logfile. And a Parameter /s for a (diskshadow) script file to execute. diskshadow has the same “look and feel” like diskpart 🙂  and start with a prompt:

C:\Windows\system32>diskshadow
Microsoft DiskShadow version 1.0
Copyright (C) 2013 Microsoft Corporation
On computer:  windev,  12.06.2014 20:28:33
DISKSHADOW>

First set diskshadow in defined state with reset

DISKSHADOW> reset
Continue reading Windows: Backup with diskshadow.exe

VMware ESXi: A (incomplete) list of host commands Part 1

Hi,

here is a list of some cli’s  to control a VMware ESXi host from the command line. Enable the ESXi shell and login to console or connect with a ssh client remotely.
Management
Restart Management, HA Services
/sbin/services restart

Installing Software. List/Install/Uninstall  VIBs (vSphere Installation bundle)

List vibs

esxcli software vib list

Install a vib

esxcli software vib install -v file:/tmp/[NewVIB].vib

Uninstall a vib (determine the Name of the VIB by the list command)

esxcli software vib remove -n VIBname

Install a patch

esxcli software vib install /tmp/[patchName].zip

Network

firewall state

esxcli network firewall get

Firewall rules
Continue reading VMware ESXi: A (incomplete) list of host commands Part 1