You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PowerShell: Script to prompt user with their RDP password to then encrypt it and generate a line to be added to a RDP file in order to store the RDP password
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PowerShell: Get file's hash + compare to reference hash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Open cmd as Administrator and paste/edit the following lines to taste (ie. edit Lport)
# chose the port to be used afterwards ie. replace 1234 by the port you want
set "Lport=1234"
# bind and listen to a specific port
netsh interface portproxy add v4tov4 listenport=%Lport% listenaddress=0.0.0.0 connectport=%Lport% connectaddress=localhost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My network address changed and I needed to still be able to supervise using Centreon. The address plan stayed the same from one network to the other and I didn't want to install a new Centreon from scratch & redo the setup of all the hosts and services. This is what I did to achieve the move from one network to the other.
Topology
The previous network will be referred to as previous network and the new one as new network. For the sake of this How-to, let's say that on the previous network the network address was 192.168.1.0 and the new network's address is 192.168.2.0.
I had one central Centreon-Central (or even central) and one Centreon-Poller (or poller). This is how I'll refer to these VMs here. We'll say that the central address ends with .2 on both the previous network and the new network, and the poller's ends with .3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters