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…
How to make a backup of all third party drivers on Windows
When you reinstall operating system, usually there is too much time needed to find, download and install drivers, and in some cases (for example if you reinstall windows on chineese tablet) search task of all needed drivers may become impossible. On Windows 8, 8.1 and 10 you can create a backup of all thirs party…


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


