顯示命令-line 參數並描述語法。 詳細描述 如需Windows PowerShell 5.1 命令 ine 選項的相關信息-l,請參閱 about_PowerShell_exe。 語法 複製 Usage: pwsh[.exe] [-Login] [[-File] <filePath> [args]] [-Command { - | <script-block> [-args <arg-array>] | <string> [<CommandParameters>] ...
Per informazioni sulle opzioni del comando-line per Windows PowerShell 5.1, vedere about_PowerShell_exe. Sintassi Copia Usage: pwsh[.exe] [-Login] [[-File] <filePath> [args]] [-Command { - | <script-block> [-args <arg-array>] | <string> [<CommandParameters>] } ] [[-CommandWit...
Usage: pwsh[.exe] [-Login] [[-File] <filePath> [args]] [-Command { - | <script-block> [-args <arg-array>] | <string> [<CommandParameters>] } ] [[-CommandWithArgs <string>] [<CommandParameters>]] [-ConfigurationFile <filePath>] [-ConfigurationName <string>] [-CustomPipeName ...
MyCommand : foo.ps1 BoundParameters : {[x, 123,456]} # <--- Note x is NO LONGER bound to an object[] UnboundArguments : {} # snip Line : # <--- Note the line is blank # snip String # <--- x is the string "123,456" , its value is on one line and [0] / [1] gi...
For information about the command-line options for Windows PowerShell 5.1, seeabout_PowerShell_exe. Syntax Copy Usage: pwsh[.exe] [-Login] [[-File] <filePath> [args]] [-Command { - | <script-block> [-args <arg-array>] | <string> [<CommandParameters>] } ] [[-CommandWithArgs <...
Explains how to use the pwsh command-line interface. Displays the command-line parameters and describes the syntax. Long description For information about the command-line options for Windows PowerShell 5.1, see about_PowerShell_exe. Syntax Copy Usage: pwsh[.exe] [-Login] [[-File] <filePa...
Per informazioni sulle opzioni del comando-line per Windows PowerShell 5.1, vedere about_PowerShell_exe. Sintassi Copia Usage: pwsh[.exe] [-Login] [[-File] <filePath> [args]] [-Command { - | <script-block> [-args <arg-array>] | <string> [<CommandParameters>] } ] [[-CommandWit...
Usage: pwsh[.exe] [-Login] [[-File] <filePath> [args]] [-Command { - | <script-block> [-args <arg-array>] | <string> [<CommandParameters>] } ] [[-CommandWithArgs <string>] [<CommandParameters>]] [-ConfigurationFile <filePath>] [-ConfigurationName <string>] [-CustomPipeName ...
有关Windows PowerShell 5.1 的命令-line 选项的信息,请参阅about_PowerShell_exe。 语法 复制 Usage: pwsh[.exe] [-Login] [[-File] <filePath> [args]] [-Command { - | <script-block> [-args <arg-array>] | <string> [<CommandParameters>] } ] [[-CommandWithArgs <string>] [<CommandPar...
[-Command { - | <script-block> [-args <arg-array>] | <string> [<CommandParameters>] } ] [[-CommandWithArgs <string>] [<CommandParameters>]] [-ConfigurationFile <filePath>] [-ConfigurationName <string>] [-CustomPipeName <string>] ...