Skip to content

Instantly share code, notes, and snippets.

@Supermathie
Created November 12, 2013 01:40
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Supermathie/7423949 to your computer and use it in GitHub Desktop.
Save Supermathie/7423949 to your computer and use it in GitHub Desktop.
Windows 2008 EMS
$ virsh console ad1
Connected to domain ad1
Escape character is ^]
SAC>?
ch Channel management commands. Use ch -? for more help.
cmd Create a Command Prompt channel.
d Dump the current kernel log.
f Toggle detailed or abbreviated tlist info.
? or help Display this list.
i List all IP network numbers and their IP addresses.
i <#> <ip> <subnet> <gateway> Set IPv4 addr., subnet and gateway.
id Display the computer identification information.
k <pid> Kill the given process.
l <pid> Lower the priority of a process to the lowest possible.
lock Lock access to Command Prompt channels.
m <pid> <MB-allow> Limit the memory usage of a process to <MB-allow>.
p Toggle paging the display.
r <pid> Raise the priority of a process by one.
s Display the current time and date (24 hour clock used).
s mm/dd/yyyy hh:mm Set the current time and date (24 hour clock used).
t Tlist.
restart Restart the system immediately.
shutdown Shutdown the system immediately.
crashdump Crash the system. You must have crash dump enabled.
SAC>i
Net: 11, Ip=192.168.101.11 Subnet=255.255.255.0 Gateway=192.168.101.1
Net: 11, Ip=fe80::c8d9:b2ae:dd6c:841f
SAC>cmd
The Command Prompt session was successfully launched.
SAC>
EVENT: A new channel has been created. Use "ch -?" for channel help.
Channel: Cmd0001
SAC>ch -si 1
<?xml version="1.0"?>
<channel-switch>
<name>Cmd0002</name>
<description>Command Prompt</description>
<type>VT-UTF8</type>
<guid>4fc7695d-4b37-11e3-b3a9-c5d25163b259</guid>
<application-type>63d02271-8aa4-11d5-bccf-00b0d014a2d0</application-type>
</channel-switch>
Name: Cmd0001
Description: Command
Type: VT-UTF8
Channel GUID: 4fc7695d-4b37-11e3-b3a9-c5d25163b259
Application Type GUID: 63d02271-8aa4-11d5-bccf-00b0d014a2d0
Press <esc><tab> for next channel.
Press <esc><tab>0 to return to the SAC channel.
Use any other key to view this channel.
Please enter login credentials.
Username: Administrator
Domain : AD1
Password: **********
Attempting to authenticate...
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>powershell
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
PS C:\Windows\system32> Shout-YeeHaw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment