Monday, January 4, 2016

Raspian setup

sudo apt-get update

sudo apt-get install vpnc

sudo chmod +rwx /etc/vpnc/

sudo apt-get install freerdp

sudo apt-get install zenmap

sudo apt-get install iceweasel

VPNC commands

vpnc <profile name>

killall vpnc

vpnc-disconnect

Thursday, December 3, 2015

Exchange Shell

Get a list of addresses, c:\export to smtp.csv

Get-Mailbox -ResultSize Unlimited |Select-Object DisplayName,ServerName,PrimarySmtpAddress, @{Name=“EmailAddresses”;Expression={$_.EmailAddresses |Where-Object {$_.PrefixString -ceq “smtp”} | ForEach-Object {$_.SmtpAddress}}} | Export-CSV c:\smtp.csv -NoTypeInformation

Thursday, August 6, 2015

Change Windows Server 2012 product key

Open Search

Type Slui.exe 0x3

Tap or click the Slui.exe 0x3 icon

Type your product key in the Windows Activation window, and then click Activate

Tuesday, July 28, 2015

Dell service tag from Xen host

SSH to the host and use this command:

dmidecode -s system-serial-number

Friday, May 22, 2015

Outlook 2010 autocomplete data (formerly the NK2 file)

C:\Users\%username%\AppData\Local\Microsoft\Outlook\RoamCache

Stream_Autocomplete_0_{a long string of numbers/letters}.dat

Thursday, May 21, 2015

Windows Registry

Redirect user shell folders

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\

Resolve DNS server issues

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DnsClient

Thursday, February 26, 2015

Print Management Missing from Home Premium

Simple workaround if you need to remove printer drivers:

Run 'printui /s /t2' and select the driver you would like to remove.