Apropos for the Powershell

Asked

Viewed 38 times

2

In Windows there is some solution in Powershell that can present some result of searching for similar commands to apropos unix?

1 answer

2


function apropos {
    $glob = $args[0]
    (gcm $glob).FileVersionInfo|
        select FileName,FileDescription
}

Now in the PS console just type:

apropos *cmd*

FileName                            FileDescription                                            
--------                            ---------------                                            
C:\Windows\system32\cmd.exe         Processador de comandos do Windows                         
C:\Windows\system32\cmdkey.exe      Utilitário gerenciador de credenciais da linha de comando  
C:\Windows\system32\cmdl32.exe      Download automático do Gerenciador de Conexões da Microsoft
C:\Windows\system32\hkcmd.exe       hkcmd Module                                               
C:\Windows\system32\onlinesetup.cmd                                                            
C:\Windows\system32\VaultCmd.exe    Programa cmdline do Cofre                                  
C:\Windows\system32\winrm.cmd    

Browser other questions tagged

You are not signed in. Login or sign up in order to post.