I was working on some powershell scripts and my son came into the room and asked me if I could get the computer to talk to him, so I had to figure out how to do it: Add-Type -AssemblyName System.speech $speak = New-Object System.Speech.Synthesis.SpeechSynthesizer ForEach ($Voice in ($speak.GetInstalledVoices() | % {$_.VoiceInfo.Name})) { $speak.SelectVoice($Voice) $speak.Speak(“I am […]
Steve Borba
My notes, I hope they help you, feel free to comment/add to them
Category: Technology
With everything becoming virtual, we get more tools, but that means more things to remember. These are my notes for a capture from an ESXi host. First lets look capture at the uplink, we need to find which port: esxcfg-nics -l Which gives us something like this: Name PCI Driver Link Speed Duplex MAC Address […]
I don’t have a vCenter (because it is a low power lab), but I still want to keep my lab up to date, so I found a way to to do through ssh. I leave ssh running at all times, and changed “UserVars.SuppressShellWarning” to “1” so it doesn’t bug me to disable it. First step […]
Portals work a little better when using a publicly signed certificate, but getting the funds for one isn’t always possible, especially not in the initial phase or for a home lab. So, I decided to use Let’s Encrypt, the signing is only for 90 days. So either you have to manual update, or do some […]
Here is a quick filter when you start troubleshooting with someone and pretty much all they know is their name (change the start time): ( receive_time geq ‘2018/12/21 12:00:00’ ) and user.src eq sborba and ( !action eq allow or (proto eq tcp and !session_end_reason eq tcp-fin ) or ((proto eq icmp or proto eq […]
I use Google Fi and I want to make sure phone calls get first priority, then I moved my wife and my devices up (queue 4 is default), then knocked guest down and capped them at 5mb/s up/down, but I wanted to make it full speed if I am using the vpn from the guest […]
This is how I setup my dashboard, I use all the widgets: DashBoard System Resources High Availability Interfaces ACC Risk Factor Locks General Information Top High Risk Apps Logged in Admins Top Applications Config Logs System Logs Threat Logs URL Log Filtering Logs Data Filtering Logs This would be what I would suggest for an […]
I combined a few scripts and tried to speed them up, originally it took 30-40 minutes, but I got it down to 3-5. The majority of the script came from here. I also took some from Jason for the progress bars, but added the ETA seconds. #Prompt User for VC addresses, if more than one, […]
Quick Note on sending an email with just using putty or telnet putty -raw -P 25 192.168.7.251 HELO home.steveborba.com MAIL FROM: steve@steveborba.com RCPT TO: steve@steveborba.com DATA From: “Someone” To: “Myself” Subject: Testing email – 1 Steve, Testing this email thing. Thank you, Steve . quit
Here is a script for progress bar and ETA, I grabbed part of it from Jason. $LoopAverage = 0 $Max = 150 $Speed = 50 $i=0 While ($i -lt $Max) { $StartLoopTime = Get-Date $ParentLoopText = (“Working on iteration “+$i++) if (($i+1 -gt 6) -or ($i+1 -gt ($Max * 0.1))) { if ( [Math]::Abs($Delta) -lt […]