In todays short article, I want to show you a couple of examples of managing local Esxi users, with the help of PowerShell – PowerCli and EsxCli. Connect-VIServer -Server vcenter.some.domain #for example, we want to make some action on all hosts in the cluster $hosts=Get-Cluster ClusterName | Get-VMHost foreach ($vmhost in $hosts){ $esxcli =…
Searching where a user is logged on [PowerShell]
Today I want to show you a simple PowerShell script, that can be used to find on which domain machines a user is logged on currently. Basicaly the script is working like the pslogedon utility, but does not require the remote registry to be enabled on target machines.As usual I’ve uploaded the script to GitHub….
Control AD CS certificates from PowerShell
Today I want to show you several examples of controlling certificates that were published in Active Directory Ceritfication Services, with the help of simple PowerShell commands, on the example of 3 real cases. First of all, you have to have the PSPKI module. You can install it with the command: Install-Module -Name PSPKI Just in…
Effortless Task Distribution Across Servers Using PowerShell
The task of distributing a set of scheduled tasks across numerous servers arose. It brought back memories of a time when this could be accomplished through group policies. Although this option is still available, it no longer allows specifying a particular account, especially one with a password, under which the task should be executed. There’s…
Efficient Backup Scripting: A Guide to Automated Backup Rotation and Management with FTP in Bash
Welcome to our detailed guide on efficient automated backup scripting, aimed to help you manage and safeguard your valuable data. In today’s era, where data is a pivotal asset, having a reliable backup strategy is paramount. By leveraging FTP in Bash scripting, this guide provides a seamless approach to data management and backup rotation. Understanding…
Automating LXC Container Backups: A Step-by-Step Guide
Hello tech enthusiasts! Ever struggled with manual backups for LXC containers? In today’s post, I’ll demonstrate a seamless way to automate LXC container backups, making your life a tad easier. Without further ado, let’s delve into the script that I religiously use for this task: #!/bin/bash SHELL=/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DATE=`date +%Y-%m-%d` # The name of the…
How to Automate ActiveDirectory User Addition Using PowerShell and CSV
Hello to all IT professionals and enthusiasts! Today’s tutorial will delve into an efficient way to bulk-add or update users in ActiveDirectory, leveraging the power of scripting. By using a simple CSV file, this automation process becomes seamless. Download Resources For those ready to dive in, you can download the necessary script and tools here….
How to Set Up and Optimize PPTP VPN on Ubuntu Server 16.04
In today’s guide, we’ll walk you through the detailed steps to establish a PPTP VPN connection on Ubuntu Server 16.04. Plus, we’ll cover how to ensure automatic reconnections and route management. Please note: PPTP has known vulnerabilities, so consider this method for learning purposes and evaluate more secure VPN options for critical applications. Step-by-Step Guide:…


![Ищем, где залогинен пользователь [powershell]](https://www.mytechnote.ru/wp-content/uploads/2023/01/permon-powershell-logo_0.png)





