Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 How to become powerful in powershell

views
     
TSomron
post Jan 19 2023, 01:02 PM, updated 3y ago

Getting Started
**
Junior Member
204 posts

Joined: Aug 2011
Hi All, Anyone knows any free website , can teach me how to become powerful in powershell. Any feedback are welcoming.
FlierMate4
post Jan 21 2023, 02:52 AM

Getting Started
**
Validating
90 posts

Joined: Jan 2023
Since PowerShell was started out in Windows, the best reference, I think, is from Microsoft themselves.

learn.microsoft.com/en-us/powershell/scripting/discover-powershell?view=powershell-7.3
TSomron
post Jan 21 2023, 06:02 PM

Getting Started
**
Junior Member
204 posts

Joined: Aug 2011
yess thanks for suggestion
FlierMate
post May 30 2023, 10:49 PM

On my way
****
Validating
543 posts

Joined: Nov 2020
............

This post has been edited by FlierMate: Jun 5 2023, 08:14 PM
FlierMate
post May 31 2023, 03:56 PM

On my way
****
Validating
543 posts

Joined: Nov 2020
For example, GetCommandLineA returns command line arguments with different length of spacing in Command Prompt and PowerShell.

There are double-space between program name and input file name in Command Prompt, but only a single space in PowerShell.

user posted image

So unless the program can process arbitrary white spaces, this will be an issue.

This post has been edited by FlierMate: Jun 5 2023, 08:14 PM
flashang
post May 31 2023, 05:14 PM

Casual
***
Junior Member
355 posts

Joined: Aug 2021


QUOTE(FlierMate @ May 31 2023, 03:56 PM)
For example, GetCommandLineA returns command line arguments with different length of spacing in Command Prompt and PowerShell.

There are double-space between program name and input file name in Command Prompt, but only a single space in PowerShell.

user posted image

So unless the program can process arbitrary white spaces, this will be an issue.
*
May be this is because powershell handle characters as utf-8, while command prompt is ascii.

any command should able to accept arguments with not in order and variables of space / seperator characters, or output from other command.

and also give some human friendly error message or example.

smile.gif


FlierMate
post May 31 2023, 06:03 PM

On my way
****
Validating
543 posts

Joined: Nov 2020
.......

This post has been edited by FlierMate: Jun 5 2023, 08:12 PM

 

Change to:
| Lo-Fi Version
0.0117sec    0.78    5 queries    GZIP Disabled
Time is now: 24th December 2025 - 05:30 PM