-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathzh-CN.json
194 lines (194 loc) · 4.9 KB
/
zh-CN.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{
"options": [
{
"name": "-PSConsoleFile",
"next": 0,
"tip": [
"U: -PSConsoleFile <file>\n",
"加载指定的 Windows PowerShell 控制台文件。\n",
"要创建控制台文件,请使用 Windows PowerShell 中的 Export-Console。"
]
},
{
"name": "-Version",
"alias": [
"-v"
],
"next": 0,
"tip": [
"U: -Version <version>\n",
"启动指定版本的 Windows PowerShell。\n",
"通过参数输入一个版本号,例如 \"-version 2.0\"。"
]
},
{
"name": "-NoLogo",
"tip": [
"在启动时隐藏版权横幅。"
]
},
{
"name": "-NoExit",
"tip": [
"运行启动命令后请勿退出。"
]
},
{
"name": "-Sta",
"tip": [
"使用单线程单元启动 shell。\n",
"单线程单元(STA)是默认设置。"
]
},
{
"name": "-Mta",
"tip": [
"使用多线程单元启动 shell。"
]
},
{
"name": "-NoProfile",
"tip": [
"不要加载 Windows PowerShell 配置文件。"
]
},
{
"name": "-NonInteractive",
"tip": [
"不要向用户显示交互式提示。"
]
},
{
"name": "-InputFormat",
"tip": [
"U: -InputFormat <string>\n",
"描述发送到 Windows PowerShell 的数据的格式。\n",
"有效值为\"Text\" (文本字符串)或 \"XML\" (序列化的 CLIXML 格式)。"
],
"next": [
{
"name": "Text"
},
{
"name": "XML"
}
]
},
{
"name": "-OutputFormat",
"tip": [
"U: -OutputFormat <string>\n",
"确定来自 Windows PowerShell 的输出是如何设置格式的。\n",
"有效值为\"Text\" (文本字符串)或 \"XML\" (序列化的 CLIXML 格式)。"
],
"next": [
{
"name": "Text"
},
{
"name": "XML"
}
]
},
{
"name": "-WindowStyle",
"tip": [
"U: -WindowStyle <style>\n",
"设置 Windows PowerShell 窗口的显示样式。"
],
"next": [
{
"name": "Normal",
"tip": [
"正常窗口"
]
},
{
"name": "Hidden",
"tip": [
"隐藏窗口"
]
},
{
"name": "Minimized",
"tip": [
"最小化窗口"
]
},
{
"name": "Maximized",
"tip": [
"最大化窗口"
]
}
]
},
{
"name": "-EncodedCommand",
"next": 0,
"tip": [
"U: -EncodedCommand <Base64EncodedCommand>\n",
"接受命令以 base-64 编码的字符串版本。\n",
"使用此参数将命令提交到需要复杂引号或大括号的 Windows PowerShell。"
]
},
{
"name": "-ConfigurationName",
"next": 0,
"tip": [
"U: -ConfigurationName <string>\n",
"指定运行 Windows PowerShell 的配置终结点。\n",
"这可以是本地计算机上注册的任何终结点,包括默认的 Windows PowerShell 远程终结点或具有特定用户角色功能的自定义终结点。"
]
},
{
"name": "-File",
"next": 0,
"tip": [
"U: -File <filePath> <args>\n",
"在本地范围(\"dot-sourced\")内运行指定的脚本,以便脚本创建的函数和变量可在当前会话中使用。\n",
"输入脚本文件路径和任何参数。\n",
"File 必须是命令中的最后一个参数,因为在 File 参数名称之后输入的所有字符都解释为脚本文件路径后跟脚本参数。"
]
},
{
"name": "-ExecutionPolicy",
"next": 0,
"tip": [
"U: -ExecutionPolicy <ExecutionPolicy>\n",
"为当前会话设置默认执行策略并将其保存在 $env:PSExecutionPolicyPreference 环境变量中。\n",
"此参数不会更改注册表中设置的 Windows PowerShell 执行策略。"
]
},
{
"name": "-Command",
"next": 0,
"tip": [
"U: -Command <-|string|scriptBlock>\n",
"执行指定的命令(及任何参数),如同它们是在 Windows PowerShell 命令提示符处键入的,然后再退出,除非指定了NoExit。\n",
"Command 的值可以为 \"-\"、字符串或脚本块。"
]
}
],
"common_options": [
{
"name": "--help",
"alias": [
"-h",
"-?",
"/?"
],
"tip": [
"显示帮助信息。"
]
}
],
"info": {
"completion_info": {
"url": "https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_pwsh?view=powershell-5.1",
"description": [
"Windows PowerShell 命令行 CLI. (powershell.exe)"
]
}
}
}