We changed our privacy policy. Read more.

New answers tagged

0

The provided command is always executed without arguments. The environement variable SSH2_ORIGINAL_COMMAND countains the command that was typed by the user. You may consult the documentation here : https://support.ssh.com/manuals/server-admin/64/ssh-server-g3.html command="command" This is used to specify a "forced command" that will be ...


0

You can use Exchange Server Health Checker Script on GitHub to see if server up to date or not: https://github.com/dpaulson45/HealthChecker#download On your server, open EMS and then open the folder where you’ve downloaded the HealthChecker.ps1 PowerShell script. Now Run following command .\HealthChecker.ps1 This script will list all the security ...


0

As far as I know, there doesn't seem to be any script or commands which can detect if the current versions of Exchange and windows server are latest. The available methods are to manually get the current versions, and then compare with the microsoft docs: 1 Navigate to the following location: Control Panel -> Uninstall a program & View installed ...


1

Answer: Huawei AR158E in version V200R003, only LAN interface FE0 (Ethernet0/0/0) can be configured as a WAN interface. In other words, I can only switch the interface FE0 to a layer 3 interface. Or you can upgrade the router to ** V200R010C10**, in which all FE LAN interfaces can be configured as WAN interfaces. Once the upgrade is completed, I should ...


0

If you've used VLANs the ports are likely in switch mode. In the interface context, try undo portswitch, removing all VLAN and switching functionality, and putting the port in L3 routed mode.


0

sleep $((RANDOM)) The RANDOM will return a value between 0 and 32767 If you need to set a lower and upper limit to your sleep you need to define two other variables as follows: MINWAIT=10 MAXWAIT=30 sleep $((MINWAIT+RANDOM % (MAXWAIT-MINWAIT)))


0

To get the PID for the current user, see my example below for restarting the explorer process: @echo off for /F "tokens=1,2" %%i in ('tasklist /FI "IMAGENAME eq explorer.exe" /FI "USERNAME eq %USERDOMAIN%\%USERNAME%" /FO table /NH') do taskkill /F /PID %%j start explorer.exe


Top 50 recent answers are included