Not with the alias built-in cmdlet. You can with functions and splatting in v2.
Take a look at the PSBoundParameters and PSUnboundParameters arrays. Regards, Michael B. Smith Consultant and Exchange MVP http://TheEssentialExchange.com From: Kurt Buff [mailto:kurt.b...@gmail.com] Sent: Wednesday, August 03, 2011 1:57 PM To: NT System Admin Issues Subject: Re: Weird routing between two Lotus Domino servers I wonder if you can alias that in powershell... On Wed, Aug 3, 2011 at 09:02, Andrew S. Baker <asbz...@gmail.com<mailto:asbz...@gmail.com>> wrote: Like they couldn't just make route.exe run the other commands... Sigh. ASB http://about.me/Andrew.S.Baker Harnessing the Advantages of Technology for the SMB market… On Wed, Aug 3, 2011 at 10:59 AM, Michael B. Smith <mich...@smithcons.com<mailto:mich...@smithcons.com>> wrote: Heh. CCNA & CCNP – even if 10 years old (and not current) – they drum certain things into you. :-P Actually (ssshhhhh) route.exe will be deprecated with Windows 8, and you’ll need to do this instead: netsh int ipv4 show route netsh int ipv6 show route Regards, Michael B. Smith Consultant and Exchange MVP http://TheEssentialExchange.com From: richardmccl...@aspca.org<mailto:richardmccl...@aspca.org> [mailto:richardmccl...@aspca.org<mailto:richardmccl...@aspca.org>] Sent: Wednesday, August 03, 2011 10:51 AM To: NT System Admin Issues Subject: Re: Weird routing between two Lotus Domino servers And, yes, Domino configs were all dug through last week, first thing. THEN we started working on routes. Silly, but neither my boss nor I seemed to be familiar with the ROUTE PRINT (and above all, ROUTE DELETE) commands. -- richard Steve Kradel <skra...@zetetic.net<mailto:skra...@zetetic.net>> 08/03/2011 09:26 AM Please respond to "NT System Admin Issues" <ntsysadmin@lyris.sunbelt-software.com<mailto:ntsysadmin@lyris.sunbelt-software.com>> To "NT System Admin Issues" <ntsysadmin@lyris.sunbelt-software.com<mailto:ntsysadmin@lyris.sunbelt-software.com>> Press this button if the "To" is a fax number. Enter in the fax number like 123-456-7890. cc Subject Re: Weird routing between two Lotus Domino servers Agreed, checking the routing table is the place to start. After that I would dig into the Domino config -- checking for connection documents (and the Ports field thereupon), passthru servers, that kind of stuff. Although it is unlikely to be a Domino issue given your other test results. --Steve On Wed, Aug 3, 2011 at 9:35 AM, Michael B. Smith <mich...@smithcons.com<mailto:mich...@smithcons.com>> wrote: > “route print”. > > > > Regards, > > > > Michael B. Smith > > Consultant and Exchange MVP > > http://TheEssentialExchange.com > > > > From: richardmccl...@aspca.org<mailto:richardmccl...@aspca.org> > [mailto:richardmccl...@aspca.org]<mailto:[mailto:richardmccl...@aspca.org]> > Sent: Wednesday, August 03, 2011 9:31 AM > To: NT System Admin Issues > Subject: Weird routing between two Lotus Domino servers > > > > Greetings! > > We have two pair of Domino servers in NYC, and a pair of them in Illiois > (all Win2003 standard server). All are Domino 7.0.2 (for which service has > been discontinued - EOL for that product version). > > The way mail flows, all non-company mail addressed to those in Illinois is > routed through one of the NYC Domino servers. Consequently, if NYCDOMINO1 > cannot connect to ILNOTES1, then Illinois gets no outside mail. > > For the past few years, we have had a WAN connection consisting of two > bonded T1s (total 3 Mbps). We now have a new fiber WAN connection (through > a different vendor) at (currently) 45 Mbps. All would be well, except for > this screwy(!) routing issue... > > ILNOTES1 (as well as other random IL machines) route to NYCDOMINIO1 through > the new 45 Mbps pipe (using tracert in a command console). NYCDOMINO1 > routes to randomly selected IL machines through the new pipe, EXCEPT to > ILNOTES1. > > When we disconnect the old 3 Mbps router (at either the IL or the NYC end) > and to a tracert ILNOTES1 (by any name or by IP address), it times out with > the cheerful message "No route found to host". > > The Windows network settings (including things like "NETBios over tcp" and > "Allow lmhosts import") are identical but for host IP address. > > I have checked all the files in [admin$]\system32\drivers\etc. None of the > files have any entries (other than the defaults one sees whenever installing > Windows). > > Any ideas where to look next? We would really prefer not continuing to pay > one vendor for a slow pipe for this single one-way connection. (We would > also not like having something this screwy in our network!) > > Thanks for any suggestions... > -- > Richard D. McClary > Jr Infrastructure Architect, Information Technology Group > ASPCA® > 1717 S. Philo Rd, Ste 36 > Urbana, IL 61802 > > richardmccl...@aspca.org<mailto:richardmccl...@aspca.org> > > P: 217-337-9761<tel:217-337-9761> > C: 217-417-1182<tel:217-417-1182> > F: 217-337-9761<tel:217-337-9761> > www.aspca.org<http://www.aspca.org> > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com> with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com<mailto:listmana...@lyris.sunbeltsoftware.com> with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe ntsysadmin