Similar as on FreeBSD and Linux, you can add/remove static network routes through the command line with the route command. The syntax somewhat differs from Linux, though.
To add a route (e.g. subnet 192.168.3.0/24 to gateway 192.168.1.254):
sudo route -n add -net 192.168.3.0/24 192.168.1.254
To remove a route:
sudo route -n delete -net 192.168.3.0/24
To show the current route table, you can use netstat:
netstat -nr
Cisco's SF/SG 300/500 series managed switches have CLI access via Telnet and SSH but this is turned off by default, leaving only the web interface to manage the switch. You can enable Telnet and/or SSH via the web interface, enabling management via CLI.
The actual serial number of a Barracuda NG Firewall can be obtained remotely in two ways:
A very useful guide on how to download specific files (such as older versions of games) on Steam:
https://www.reddit.com/r/Steam/comments/611h5e/guide_how_to_download_older_versions_of_a_game_on/
DellEMC offers a free-to-try virtual appliance of DataDomain, allowing you to do a Try & Buy. You can download the appliance here:
https://www.emc.com/products-solutions/trial-software-download/data-domain-virtual-edition.htm
A very useful blog article about killing active sessions to a compromised Office 365 account:
Starting from Windows 10 Creators Fall Update, you can use VT escape sequences to colorize the output to console. You can use this to colorize columns in Format-Table, too.
A sample snippet, colorizing the output based on the contents of the "Status" field:
$somelist | FT FirstName,LastName,@{l="Status";e={ switch ($_.Status) { "OK" {$color = 92; break} "NOT OK" {$color = 91; break} default {$color = 93} } "$e[${color}m$($_.Status)${e}[0m" }}
A complete list of color codes can be found here: https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences
« ‹ | December 2024 | › » | ||||
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |