Psexec.exe: Powerful tool for Admins
Who needs to learn psexec.exe?
2
What can psexec.exe do?
3
4
5
Can execute CLI programs on one or many hosts
Psexec can create remote shells
6
Can redirect PowerShell �
7
Can be executed within a batch file or PS1 file
8
See the following PowerShell script for an example:
$Computers = Get-Content D:\MyScripts\Computers.txt
foreach ($Computer in $Computers) {
if (!(Test-Connection -ComputerName $Computer -Count 2 -Quiet)) {
Write-Host "The $Computer is not reachable..."
} else {
Write-Host "Installing software on $Computer..."
&\\192.168.0.254\Share$\PSTools\psexec -s -h -f \\$Computer -c \\192.168.0.254\Share$\Scripts\install.bat
}
}
a simple PowerShell script that can be used to perform unattended deployment of applications, the “install.bat” has the rest of the instructions/paths for the applications
Can silently install applications on remote hosts
9
How do I install?
10
11
Download and extract to favorite �file-server/share
12
Download to Admin workstation
13
Demo
Editing environmental variables
14
Check out our free video notes
15
What is Psexec.exe?
16
17
18
19
Psexec creates and installs a temporary service on Windows called Psexesvc.exe, this service is key to it powerful functions
20
Leaves no mess!
21
22
I will demo how to install a powerful router/firewall and much more for $0 dollars. Using Pfsense x64 version of FreeBSD we will install it in Hyper-V and configure and launch our virtual appliance’s web interface. We will place our production servers/containers behind the virtual appliances and test throughput. We will diagram our Hyper-V layout and diagram our network topology to help you understand this technology so you can use it at home. We will share many topologies you can build with Pfsense in your home lab.
TECHSAVVYPRODUCTIONS.COM
Building cloud firewall-router appliances for free: Installing Pfsense in Hyper-V
https://youtu.be/ViqHNRvjnY4
23
Demonstrate how to configure powerful firewall rules using Pfsense an open-source security appliance. Pfsense is free to use and download. Using this FreeBSD firewall router and much more we will explore many of the basic LAN services needed for a LAN to connect to the internet edge. We will look at the subnet, DHCP server, and DNS resolver. I will present a step-by-step on configuring your first firewall ruleset. We will look at the greatest enemy of your firewall and why IDS/IPS and application firewalls improve your safety.
TECHSAVVYPRODUCTIONS.COM
Introduction to building SMB Firewall rules using open-source security appliances.
https://youtu.be/XqYufBjOoNk
24
IT students and professionals must learn networking, they need to pass certification exams and gain networking skills to be attractive to potential employers. We will look at why SOHO and SMB routers/firewall/security appliances are great equipment to gain network experience. We will look at the SOHO and SMB router market and recommend how to obtain this type of equipment at affordable prices for the limited budget individual. You will understand these products and how some can be obtained for free. In coming lectures, we will demonstrate labs you can do at home to configure complex DHPC servers, dynamic DNS, VLANs for protecting your business from your customers, configuring firewalls, setting up syslog servers, QoS, and much more. Watch for upcoming videos.
TECHSAVVYPRODUCTIONS.COM
Learn Networking Using SMB/SOHO routers
https://youtu.be/lMbat16eaNI
25
We will cover objectives 2.1 and 2.2 comparing and contrasting network devices and understanding protocols and their well-known port numbers. We review important concepts for the IT student and first-year help-desk employees. Understanding the real-world facts on protocols in today’s enterprise. Helping students gain an understanding of multi-function devices often called “routers or modems”. A great review for anyone preparing for the A+ exam.
TECHSAVVYPRODUCTIONS.COM
Learning Networking Part 1 and Preparing for the CompTIA A + exam
https://youtu.be/bCgXwRYwQHE
SOCIAL MEDIA
CREDITS
26
Become a member
27
Check out our website: �https://www.techsavvyproductions.com
28
Want an easy and free way to support this Channel?�Please Subscribe!�80% of the individuals who watch our content do not subscribe.�
29
We have subtitles for the following languages:
We translate subtitles on our videos into the following languages: عربى, българскиB, 简体中文), 中國傳統的), Nederlands, Suomalainen, français, Deutsche, हिंदी , , bahasa Indonesia, 日本語, 한국어, norsk, Polskie, português, Română, український, eesti keel, Española, lietuvių, latviski , Svenska, čeština, dansk, Ελληνικά, հայերեն, shqiptare, and Tiếng Việt
30
�A BIG THANK YOU TO ALL OF OUR VIEWERS AND SUBSCRIBERS!�
31