XPost: alt.comp.os.windows-10, alt.comp.os.windows-11   
   From: michael@spamcop.com   
      
   On Thu, 16 Mar 2023 12:51:57 -0500, VanguardLH wrote:   
      
   > netsh, as with many tools, gives you only top-level help if you use   
   > " /?". You have to drill down to get to a directive or even   
   > sub-directive to add /? to get help on the [sub]-directive, like:   
   >   
   > netsh /?   
   > netsh interface /?   
   > then   
   > netsh interface ipv4 /?   
   > then   
   > netsh interface ipv4 set /?   
   > then   
   > netsh interface ipv4 set address /?   
   >   
   > You could start at the end if you know all the args you want to specify,   
   > but I usually have to drill down through the help levels.   
   >   
   > There are no man pages in Windows like there is in Linux. Help is built   
   > into the program. There is the 'help' command, but that just lists some   
   > DOS-mode programs.   
      
   I tried that, using a logical sequence, and also got stuck at a different   
   point of the tree but it didn't seem that it would ever work logically.   
      
    netsh /?   
    ... interface - Changes to the 'netsh interface' context ...   
      
    netsh interface /?   
    ... ipv4 - Changes to the 'netsh interface ipv4' context.   
      
    netsh interface ipv4 /?   
    ... set interface - Sets interface parameters. ...   
      
    netsh interface ipv4 set interface /?   
    set interface [interface=] [[forwarding=]enabled|disabled]   
    [[advertise=]enabled|disabled] [[mtu=]]   
    [[siteprefixlength=]]   
    [[nud=]enabled|disabled] [[basereachabletime=]]   
    [[retransmittime=]] [[dadtransmits=]]   
    [[routerdiscovery=]enabled|disabled|dhcp]   
    [[managedaddress=]enabled|disabled]   
    [[otherstateful=]enabled|disabled]   
    [[weakhostsend=]enabled|disabled]   
    [[weakhostreceive=]enabled|disabled]   
    [[ignoredefaultroutes=]enabled|disabled]   
    [[advertisedrouterlifetime=]<0-65535>]   
    [[advertisedefaultroute=]enabled|disabled]   
    [[currenthoplimit=]<0-255>] [[store=]active|persistent]   
    [[forcearpndwolpattern=]enabled|disabled]   
    [[enabledirectedmacwolpattern=]enabled|disabled]   
    [[ecncapability=]ecndisabled|ect1|ect0|application]   
    [[rabaseddnsconfig=]enabled|disabled]   
    [[dhcpstaticipcoexistence=]enabled|disabled]   
      
   From there I got lost... sorry.   
   --   
   [I filter out Google Groups posts so if I don't reply, that may be why.]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|