Command Detail - W
wc -l
to show the number of non-blank lines:
whoami
This shows the user that you are logged on as:
whence or type
There isn't a close equivalent to the unix whence
command, because within Powershell there isn't a PATH variable for scripts. The environment's PATH and PSMODULEPATH list the folders for windows executables and for Powershell modules.
get-command
shows the location of the windows executable, the name of the Powershell module or the translation of the alias, as follows:
Last updated