Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
general:tipsoftheday [2019/11/08 11:29]
gerardorourke [Sort IP address]
general:tipsoftheday [2020/05/22 10:16] (current)
gerardorourke [Windows Command line]
Line 1: Line 1:
 ====== TIPS of the Day ====== ====== TIPS of the Day ======
  
-===== Windows ​Command line ===== +===== Windows===== 
 +==== Windows Command line ====
 ===Shows you the cached passwords on your Windows machine=== ===Shows you the cached passwords on your Windows machine===
 <​code>​rundll32.exe keymgr.dll,​KRShowKeyMgr</​code>​ <​code>​rundll32.exe keymgr.dll,​KRShowKeyMgr</​code>​
  
-===== EXCEL =====+==== Startup ​===== 
 +<​code>​shell:​startup</​code>​ 
 +<​code>​shell:​common startup</​code>​
  
-==== Sort IP address ​====+https://​www.tachytelic.net/​2017/​10/​find-startup-folder-windows-server-2012-windows-server-2016/​ 
 + 
 + 
 +==== EXCEL ==== 
 +=== Sort IP address ===
 [[https://​superuser.com/​questions/​620533/​sorting-excel-column-by-ip-address|Reference]] ​ [[https://​superuser.com/​questions/​620533/​sorting-excel-column-by-ip-address|Reference]] ​
 <​code>​ <​code>​
Line 14: Line 20:
 </​code>​ </​code>​
  
-==Insert a picture into an excel cell==+===Insert a picture into an excel cell===
   *Right click Picture -> Format Picture -> Properties -> Move and size with Cell   *Right click Picture -> Format Picture -> Properties -> Move and size with Cell
   *Reference: https://​www.journalofaccountancy.com/​issues/​2018/​oct/​insert-image-into-an-excel-cell.html   *Reference: https://​www.journalofaccountancy.com/​issues/​2018/​oct/​insert-image-into-an-excel-cell.html
  
 +==== RDP / MSTSC ====
 +=== Smart Sizing ===
 +Add the following line to your default.rdp config file.
 +<​code>​smart sizing:​i:​1</​code>​
 +  *Your MSTSC window will now always show full screen no matter what size the MSTSC window is. i.e. it will dynamically resize.
 +  *How to find your RDP config file?
 +    *Open MSTSC --> Show Options -> "Save As"​  
 +
 +==== Tail in Windows ====
 +Use Powershell and the below get-content command
 +<​code>​
 +get-content <​filename>​ -tail 5 -wait
 +</​code>​
 +
 +Tail example with a 'grep like' filter using "​select-string"​
 +<​code>​
 +get-content CCBU.2020-01-07T15-51-53.187.startup.log -tail 5 -wait | select-string "​REST"​
 +</​code>​
 +
 +=====Cisco=====
 +====Cisco VOS====
 +  * Check TCP connectivity / FW rules using the command <​code>​utils network connectivity <​host>​ <​port></​code>​
 +
 +==== Webex =====
 +=== Adding audio from powerpoint to your webex ===
 +  *Download this and install: https://​www.vb-audio.com/​Cable/​index.htm
 +  *On Windows click on the speaker icon and change audio device to be 'CABLE INPUT…'​
 +  *Open WebEX meeting
 +  *Click three dots and check audio connection is set to PC
 +  *Click three dots and select Speaker, Microphone and Camera
 +  *Change Microphone to be 'CABLE OUTPUT…'​
 +  *Open the Powerpoint PPT
 +  *Go to webex and click on Share/ Share Content and select Powerpoint
 +  *Lock Video (for everyone) on eGain EMEA
 +  *Click play in Powerpoint
 +
 +
 +===== Google =====
 +====Gmail Shortcuts====
 +
 +  *https://​support.google.com/​mail/​answer/​6594?​hl=en-GB
 +
 +
 +===== Wireshark / Win pcap=====
  
 +==== PCAP Filter - Portrange ====
 +<​code>​udp port 5060 or (udp and portrange 1024-32767)</​code>​