![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Command Line Arguments Hi, how are the command line arguments passed to a PS1 script? I see the Primer and the Getting Started guides. Where can I find the reference manual? How do I have additional fonts for the shell? The Lucida font displays some Unicode characters like Greek but not Asian characters. The raster font is only ASCII. Thanks in advance |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Command Line Arguments Argments are assigned to those parameters defined using a PARAM statuement and the remaining parameters are defined to $ARGS -- Jeffrey Snover [MSFT] Windows PowerShell Architect Microsoft Corporation This posting is provided "AS IS" with no warranties, no confers rights. |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Command Line Arguments Theres a good article on adding extra fonts to the shell on the PowerShell team blog http://blogs.msdn.com/powershell/arc...omization.aspx -- Richard Siddaway Please note that all scripts are supplied "as is" and with no warranty "Jeffrey Snover [MSFT]" wrote: > Argments are assigned to those parameters defined using a PARAM statuement > and the remaining parameters are defined to $ARGS > -- > Jeffrey Snover [MSFT] > Windows PowerShell Architect > Microsoft Corporation > This posting is provided "AS IS" with no warranties, no confers rights. > > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Command Line Arguments "RichS" <RichS@discussions.microsoft.com> wrote in message news:3077D6CC-6949-424A-8175-35BA89320160@microsoft.com... > Theres a good article on adding extra fonts to the shell on the PowerShell > team blog > > http://blogs.msdn.com/powershell/arc...omization.aspx Speaking of which, I love the Consolas font and I use it in Visual Studio and in the console. The only bummer with Consolas is that it doesn't sport any of the line drawing glyphs that Lucida Console or Courier New has. Does anybody know if there is an easy way to create a font by taking the line drawing characters from Lucida Console and slapping them in at the same spot in the Consolas font. I'd probably call this new font "Consolas Console". :-) -- Keith |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Command Line Arguments > Argments are assigned to those parameters defined using a PARAM statement > and the remaining parameters are defined to $ARGS Sorry, this is too cryptic for me. I trialed and errored, and it appears that command line paramenters to a PS1 script are passed via an array $args, each "string" in one element. I am just playing with positional parameters at this time. Haven't gotten around to keyed parameters yet. |
My System Specs![]() |
| | #6 (permalink) |
| | Re: Command Line Arguments Thank you very much. "RichS" wrote: > Theres a good article on adding extra fonts to the shell on the PowerShell > team blog > > http://blogs.msdn.com/powershell/arc...omization.aspx > > > -- > Richard Siddaway > > Please note that all scripts are supplied "as is" and with no warranty > > |
My System Specs![]() |
| | #7 (permalink) |
| | Re: Command Line Arguments Unfortunately that is for the various versions of Windows 2000 only. I am on XP. "Keith Hill [MVP]" wrote: > "RichS" <RichS@discussions.microsoft.com> wrote in message > news:3077D6CC-6949-424A-8175-35BA89320160@microsoft.com... > > Theres a good article on adding extra fonts to the shell on the PowerShell > > team blog > > > > http://blogs.msdn.com/powershell/arc...omization.aspx > > Speaking of which, I love the Consolas font and I use it in Visual Studio > and in the console. The only bummer with Consolas is that it doesn't sport > any of the line drawing glyphs that Lucida Console or Courier New has. Does > anybody know if there is an easy way to create a font by taking the line > drawing characters from Lucida Console and slapping them in at the same spot > in the Consolas font. I'd probably call this new font "Consolas Console". > :-) > > -- > Keith > > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Passing arguments to external command through PS | PowerShell | |||
| problem with command line arguments | PowerShell | |||
| Invalid Command Line arguments??? | Vista General | |||
| Parsing command line arguments | PowerShell | |||
| Getting arguments from STDIN when command line arguments are missing | PowerShell | |||