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, […]
Steve Borba
My notes, I hope they help you, feel free to comment/add to them
Author: sjborbajr
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 […]
apt install -y netscript-ipfilter vim open-vm-tools sudo useradd steve -c “Borba, Steven J Jr” -m -G sudo -s /bin/bash sudo -usteve mkdir -p -m=0700 ~steve/.ssh echo “ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDm17k7lt1wuRsDGTs/xRCHtgy5byA2/EYmd0pJ0hmaYQns5D8XMXf6QsxQ6TBO1lkhZI8Nb1+V/An4Pc3M8R4Ftt5QIb8oyQqMOjRN8K8fFawK62eSgkDLmULb0Su3MFy9uSdbmDSaFGvK5dCNnUQKbViXLTHp7WFl/CR8NvD1ZCGtuU4FCQtpaLhL80AwwdcSXNXo5dKExG5XLSNHJdwk1lvEOMQz2VRqZbbvCgi2Aol+JWN97OLEnZBWhQjLksVwsbgHrgbtquwmQdjMX1WLBSgkhUo7i4+I0BgOdkdwSLdk7ZGq9a0syOIgvsaMkKt4T/fp/MAAiHtKgOGYsSTrcIcKm9BHbnuxjHPllKsivq22cTyguLQd/2hMdl/IWJhB675+C3v4uCKgm9RjSj72Iczmr1xODTEQNHO71v9Vxj3JVrk72umJMUCVYW0PxdfHDnihOwej39z45aLXz3UhrjUVHmWtFdhox7NThV7HYHlOVWaL9KLjJihPCDJ84/8= steve@sborba” | sudo -usteve tee ~steve/.ssh/authorized_keys sudo chmod 600 ~steve/.ssh/authorized_keys echo “net.ipv4.tcp_timestamps = 0 net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1” >> /etc/sysctl.conf sysctl -p […]
I am working on setting up Home Automation and a lot of people call it Smart Home, but I don’t like that, just like calling Machine Learning AI. Half of the reason for this is just to document what I have now. Now after saying that, I am going to list my current Home Automation […]
This is an example of a Management Certificate you could sign with your decrypt CA Then create a TLS Profile and Assign TLS Profile
Create the responder entity Create management Profile Assign to Interface Allow with security policy if needed (ocsp application)
First Generate a Root (this could be the CA you deploy using Global Protect or Group Policy or whatever you can) Then you would want to create an intermediate CA (this could be the decrypt CA) You should also create a new root that isn’t deployed to clients and use as untrusted CA.
Here is a Powershell Script to send a WOL packet (and I’ve had it work over a routed connection, but it depends if the router will broadcast if doesn’t have arp for the IP): function Send-WOL { <# .SYNOPSIS Send a WOL packet to a broadcast address .PARAMETER mac The MAC address of the device […]
There is so much in the suite to show I decided to come up with a list, and keep adding to it because I know I still forgot things we all what to do DNS Record(s) – can also to by IP Public Certificate for A record (more compatible – Let’s Encrypt is free) OTP […]