Wednesday, October 15, 2014

MS Command Prompt


ArpAllows viewing and editing of the Address Resolution Protocol (ARP) cache.
HostnameDisplays the host name of the computer.
IpconfigDisplays the current TCP/IP configuration for both IPv4 and IPv6. Also used to manage Dynamic Host Configuration Protocol (DHCP)-allocated IPv4 address configurations,           display or flush the DNS client resolver cache, and register DNS names.
NbstatDisplays NetBIOS over TCP/IP (NetBT) configuration and allows management of the NetBIOS name cache.
NetshConfiguration tool for many network services. For each network service, there is a context containing commands specific for that service. For the netsh interface ip and netsh interface ipv6 contexts, displays and administers TCP/IP protocol settings on either the local computer or a remote computer.
NetstatDisplays protocol statistics and information on current TCP connections.
NslookupPerforms DNS queries and displays the results.
PingSends Internet Control Message Protocol (ICMP) Echo or Internet Control Message Protocol for IPv6 (ICMPv6) Echo Request messages to test reachability.
RouteAllows viewing of the IPv4 and IPv6 routing tables and editing of the IPv4 routing table.
TracertSends ICMP Echo and ICMPv6 Echo Request messages to trace the network route taken by IPv4 or IPv6 packets to a specific destination.
PathpingSends ICMP Echo or ICMPv6 Echo Request messages to trace the route an IPv4 or IPv6 packet takes to a destination and displays information on packet loss for each router and link in the path.
SNMP serviceProvides status and statistical information to Simple Network Management System (SNMP) management systems.
NetdiagRuns a series of diagnostic tests on network components. Netdiag is installed as part of the Windows XP and Windows Server 2003 Support Tools in the Support\Tools folder of the Windows XP or Windows Server 2003 product CD-ROM.
TelnetTests TCP connection establishment between two nodes.
TtcpListens for and sends TCP segment data or UDP messages between two nodes. Ttcp.exe is provided with Windows XP Service Pack 2 in the Valueadd\Msft\Net\Tools folder of the Windows XP Service Pack 2 CD-ROM

wmic useraccount get name,sid

Get Dell service tag
wmic bios get serialnumber

wmic bios get smbiosbiosversion

Remote shutdown
shutdown /r /m \\ComputerName /c "Comment" /d [u|p] <xx>:<yy>

Local user
net user username password

Active user
net user <username> /active:yes

Time
net time \\<time server> /set /yes

Install schema master (Domain Controller)
regsvr32 schmmgmt.dll

Vssadmin
RDP
mstsc /v:[computername or IP] /console

format X: /P:7

Wednesday, September 17, 2014

ASDM

Install 32-bit version of Java 6u29

ASDM Launcher shortcut:

"C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Xms64m -Xmx512m -Dsun.swing.enableImprovedDragGesture=true -classpath lzma.jar;jploader.jar;asdm-launcher.jar;retroweaver-rt-2.0.jar com.cisco.launcher.Launcher

To enable ASDM/SSH access:

Configuration - Device Management - Management Access - ASDM/HTTPS/Telnet/SSH

Add interface permissions

Configuration - Device Management - Users/AAA - AAA Access

Enable authentication and connection types

Configuration - Device Management - Certificate Management - Identity Certificates

Add a new identity certificate

Thursday, August 28, 2014

Dell stuff

downloads.dell.com

Search for SUU (Server Update Utility)
Search for SBUU (Systems Build and Update Utility)

Wednesday, August 20, 2014

ESXi Shell

tail to look at the end of a file

examples
tail /var/log/hostd.log
tail -f /var/log/hostd.log (-f to follow updates on screen)

cat to read logs

examples

cat /var/log/hostd.log
cat /var/log/hostd.log | grep -i 2014-08-20 (use grep to locate a specific word or time stamp. the -i ignores case)

services.sh restart to restart host services

chkconfig -l to show daemons running on hypervisor. can also be used for configuration.

esxtop same as linux top for vmware

vmkerrcode -l to list vmkernel errors

dcui to provide console screen to ssh session

vsish vmware interactive shell

ipkg list_installed to list installed packages (ESXi 4.1)

esxcli software vib list to list installed packages (ESXi 5.0)

esxcfg-info to list information about the host

esxcfg-nics to get nic options (-l to list nics and their configs)

esxcfg-vswitch -l to list information about virtual switching. can also be used for configuration.

esxcli network nic list to accomplish the same as esxcfg-nics -l

vim-cmd vimsvc/license --show to show license information

vim-cmd vmsvc/getallvms to list all running vms and vmid

vim-cmd vmsvc/power.off vmid to power off vmid referenced from getallvms command

vim-cmd vmsvc/power.on vmid to power on vmid referenced from getallvms command

vim-cmd vmsvc/power.reboot vmid to reboot vmid referenced from getallvms command

vim-cmd vmsvc/destroy vmid to delete the vmdk and vmx files from disk

vim-cmd hostsvc/maintenance_mode_enter to put hypervisor into maintenance mode

vim-cmd hostsvc/maintenance_mode_exit to take hypervisor out of maintenance mode

vim-cmd hostsvc/hostsummary | grep inMaintenanceMode to check the state of maintenance mode on the host

vim-cmd solo/registervm /vmfs/vol/datastore/dir/vm.vmx to register vm in hypervisor inventory

vim-cmd vmsvc/unregister vmid to unregister vm with hypervisor

vim-cmd vmsvc/tools.install vmid to start vmware tools installation for VM

vim-cmd hostsvc/net/info to provide information about hypervisor networking

Tuesday, August 12, 2014

NK2 File Locations

Outlook 2003/2007 with Windows 2000, XP, or Server 2003

C:\Documents and Settings\[User Profile]\Application Data\Microsoft\Outlook\filename.NK2

Outlook 2003/2007 with Windows Vista, 7, or Server 2008: 

C:\Users\[User Profile]\AppData\Roaming\Microsoft\Outlook\filename.NK2

Outlook 2010/2013 with Windows Vista, 7, or Server 2008: 

C:\Users\[User Profile]\AppData\Local\Microsoft\Outlook\RoamCache\Stream_Autocomplete_[key].dat

Outlook 2010/2013 with Windows XP: 

C:\Documents and Settings\[User Profile]\Local Settings\Application Data\Microsoft\Outlook\RoamCache\Stream_Autocomplete_[key].dat

When you use the NK2Edit utility, you don't have to worry about locating the NK2 file, it automatically opens the default file for you.

Tuesday, August 5, 2014

Quickbooks license error after cloning hard drive

"Could not initialize license properties. Error 3371 and Error 3371, Status Code -11118: "QuickBooks could not load the license data..."

Find and delete the EntitlementDataStore.ecml file

Path to file:
c:\users\all users\intuit\entitlement client\v...\

If the entitlement client folder is missing, reinstall Quickbooks

helpful forum post