Tag Archives: command

Windows: Lock the screen by command line

Hi,

there is no command line tool that can lock the screen, but it’s possible by calling the Win32 API function.
This can be done by Rundll32.exe
Continue reading Windows: Lock the screen by command line

Advertisment to support michlstechblog.info

Brocade: My often used FabricOS commands

Hi,

this is the list of my the frequently fabric commands:
Generic
Uptime of the switch

uptime

Date / Time

date     

Fabric OS version

version

Switchname

switchName

Switch state with hardware overview

switchstatuspolicyshow

Good overview of the switch with ports…

switchshow

Show domain ID

fabricshow

Set the fabricname

fabricname

Continue reading Brocade: My often used FabricOS commands

VMWare vSphere: Update VCSA Appliance from command line

Hi,

I will show you how you can update a VCSA Appliance from command line rather then from webfrontend.

I assume you have configured a proxy server when you do not have a direct internet connection.

Login to the appliance at the console or by ssh.

First of all check the state of the lookup service by lsdoctor

Run the lsdoctor tool to recognized some certificate issues. Certificate issues are often the problem when an update fails.

Command> shell
root@vCenter [ ~/lsdoctor-master ]# python lsdoctor.py -l
2021-12-13T12:52:04 INFO generateReport: Listing lookup service problems found in SSO domain...
2021-12-13T12:52:04 INFO generateReport: No issues detected in the lookup service entries

Continue reading VMWare vSphere: Update VCSA Appliance from command line

Linux: ip command line examples

Hi,

the old style ifconfig, route and netstat commands does not support all network, especially IPv6, features shipped with modern linux distributions.

Replacement are ip (ifconfig, route) and ss (netstat). Here are some examples.
Continue reading Linux: ip command line examples

VMware ESXi: A (incomplete) list of host commands Part 3

Hi,

part 3 of my (incomplete) list of the esx cli.

ESXi Advanced Kernel Settings/Parameters

Get all

esxcli system settings advanced list

Set one, i.e. disable the shell respectively ssh warnings

esxcli system settings advanced set -o /UserVars/SuppressShellWarning -i 1

ESXi Kernel modules

List loaded kernel modules

vmkload_mod  -l

Get a list of all enabled kernel modules

esxcfg-module -q
Continue reading VMware ESXi: A (incomplete) list of host commands Part 3