docs.daveops.net

Snippets for yer computer needs

Windows (Microsoft)

Export certificates

On Win7

# From Start Menu
certmgr.msc
# Find cert, right-click, point to All Tasks, click Export

Recursive copy of files

On XP

xcopy /E <src> <dest>

Hosts file

c:\Windows\System32\Drivers\etc\hosts

Writing a batch file

Save as FILENAME.bat

Command Prompt

command description
move move a file
xcopy copy files + folders

https://ss64.com/nt/

Debuggers

Procmon

Like strace for Windows

https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

Sign a Windows binary in Linux with osslsigncode

osslsigncode -certs signing.cert -key signing.key -readpass passphrase_file -in unsigned_binary.exe -out signed_binary.exe -h sha256

Extract files from WISE installer

installer.exe /x

Microsoft - Excel

Keyboard shortcuts

keystroke desc
ctrl-; insert today’s date

Microsoft Outlook

https://docs.microsoft.com/en-us/outlook/rest/ruby-tutorial https://github.com/ebeigarts/exchanger