|
62 | 62 | </dev:type>
|
63 | 63 | <dev:defaultValue>0</dev:defaultValue>
|
64 | 64 | </command:parameter>
|
| 65 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 66 | + <maml:name>ANSIBorder</maml:name> |
| 67 | + <maml:Description> |
| 68 | + <maml:para>Enter an ANSI escape sequence to color the border characters.</maml:para> |
| 69 | + </maml:Description> |
| 70 | + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> |
| 71 | + <dev:type> |
| 72 | + <maml:name>String</maml:name> |
| 73 | + <maml:uri /> |
| 74 | + </dev:type> |
| 75 | + <dev:defaultValue>None</dev:defaultValue> |
| 76 | + </command:parameter> |
| 77 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 78 | + <maml:name>ANSIText</maml:name> |
| 79 | + <maml:Description> |
| 80 | + <maml:para>Enter an ANSI escape sequence to color the text.</maml:para> |
| 81 | + </maml:Description> |
| 82 | + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> |
| 83 | + <dev:type> |
| 84 | + <maml:name>String</maml:name> |
| 85 | + <maml:uri /> |
| 86 | + </dev:type> |
| 87 | + <dev:defaultValue>None</dev:defaultValue> |
| 88 | + </command:parameter> |
65 | 89 | </command:syntaxItem>
|
66 | 90 | <command:syntaxItem>
|
67 | 91 | <maml:name>Add-Border</maml:name>
|
|
112 | 136 | </dev:type>
|
113 | 137 | <dev:defaultValue>0</dev:defaultValue>
|
114 | 138 | </command:parameter>
|
| 139 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 140 | + <maml:name>ANSIBorder</maml:name> |
| 141 | + <maml:Description> |
| 142 | + <maml:para>Enter an ANSI escape sequence to color the border characters.</maml:para> |
| 143 | + </maml:Description> |
| 144 | + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> |
| 145 | + <dev:type> |
| 146 | + <maml:name>String</maml:name> |
| 147 | + <maml:uri /> |
| 148 | + </dev:type> |
| 149 | + <dev:defaultValue>None</dev:defaultValue> |
| 150 | + </command:parameter> |
| 151 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 152 | + <maml:name>ANSIText</maml:name> |
| 153 | + <maml:Description> |
| 154 | + <maml:para>Enter an ANSI escape sequence to color the text.</maml:para> |
| 155 | + </maml:Description> |
| 156 | + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> |
| 157 | + <dev:type> |
| 158 | + <maml:name>String</maml:name> |
| 159 | + <maml:uri /> |
| 160 | + </dev:type> |
| 161 | + <dev:defaultValue>None</dev:defaultValue> |
| 162 | + </command:parameter> |
115 | 163 | </command:syntaxItem>
|
116 | 164 | </command:syntax>
|
117 | 165 | <command:parameters>
|
|
175 | 223 | </dev:type>
|
176 | 224 | <dev:defaultValue>0</dev:defaultValue>
|
177 | 225 | </command:parameter>
|
| 226 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 227 | + <maml:name>ANSIBorder</maml:name> |
| 228 | + <maml:Description> |
| 229 | + <maml:para>Enter an ANSI escape sequence to color the border characters.</maml:para> |
| 230 | + </maml:Description> |
| 231 | + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> |
| 232 | + <dev:type> |
| 233 | + <maml:name>String</maml:name> |
| 234 | + <maml:uri /> |
| 235 | + </dev:type> |
| 236 | + <dev:defaultValue>None</dev:defaultValue> |
| 237 | + </command:parameter> |
| 238 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 239 | + <maml:name>ANSIText</maml:name> |
| 240 | + <maml:Description> |
| 241 | + <maml:para>Enter an ANSI escape sequence to color the text.</maml:para> |
| 242 | + </maml:Description> |
| 243 | + <command:parameterValue required="true" variableLength="false">String</command:parameterValue> |
| 244 | + <dev:type> |
| 245 | + <maml:name>String</maml:name> |
| 246 | + <maml:uri /> |
| 247 | + </dev:type> |
| 248 | + <dev:defaultValue>None</dev:defaultValue> |
| 249 | + </command:parameter> |
178 | 250 | </command:parameters>
|
179 | 251 | <command:inputTypes>
|
180 | 252 | <command:inputType>
|
|
253 | 325 | <maml:para>Create a border around the output of a Get-Service command.</maml:para>
|
254 | 326 | </dev:remarks>
|
255 | 327 | </command:example>
|
| 328 | + <command:example> |
| 329 | + <maml:title>-------------------------- EXAMPLE 5 --------------------------</maml:title> |
| 330 | + <dev:code>PS C:\> add-border -Text $t -ANSIBorder "$([char]0x1b)[38;5;47m" -ANSIText "$([char]0x1b)[93m" -InsertBlanks |
| 331 | + |
| 332 | +******************* |
| 333 | +* * |
| 334 | +* I am the walrus * |
| 335 | +* * |
| 336 | +*******************</dev:code> |
| 337 | + <dev:remarks> |
| 338 | + <maml:para>This will write a color version of the text and border. You would this type of ANSI syntax for Windows PowerShell. In PowerShell 7, you can use the same syntax or the much easier "`e[38;5;47m".</maml:para> |
| 339 | + </dev:remarks> |
| 340 | + </command:example> |
256 | 341 | </command:examples>
|
257 | 342 | <command:relatedLinks>
|
258 | 343 | <maml:navigationLink>
|
@@ -7824,6 +7909,17 @@ PS DeepDive:\></dev:code>
|
7824 | 7909 | </dev:type>
|
7825 | 7910 | <dev:defaultValue>None</dev:defaultValue>
|
7826 | 7911 | </command:parameter>
|
| 7912 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 7913 | + <maml:name>Wrap</maml:name> |
| 7914 | + <maml:Description> |
| 7915 | + <maml:para>Wrap long lines. This only applies to Tables.</maml:para> |
| 7916 | + </maml:Description> |
| 7917 | + <dev:type> |
| 7918 | + <maml:name>SwitchParameter</maml:name> |
| 7919 | + <maml:uri /> |
| 7920 | + </dev:type> |
| 7921 | + <dev:defaultValue>False</dev:defaultValue> |
| 7922 | + </command:parameter> |
7827 | 7923 | </command:syntaxItem>
|
7828 | 7924 | </command:syntax>
|
7829 | 7925 | <command:parameters>
|
@@ -7959,6 +8055,18 @@ PS DeepDive:\></dev:code>
|
7959 | 8055 | </dev:type>
|
7960 | 8056 | <dev:defaultValue>None</dev:defaultValue>
|
7961 | 8057 | </command:parameter>
|
| 8058 | + <command:parameter required="false" variableLength="true" globbing="false" pipelineInput="False" position="named" aliases="none"> |
| 8059 | + <maml:name>Wrap</maml:name> |
| 8060 | + <maml:Description> |
| 8061 | + <maml:para>Wrap long lines. This only applies to Tables.</maml:para> |
| 8062 | + </maml:Description> |
| 8063 | + <command:parameterValue required="false" variableLength="false">SwitchParameter</command:parameterValue> |
| 8064 | + <dev:type> |
| 8065 | + <maml:name>SwitchParameter</maml:name> |
| 8066 | + <maml:uri /> |
| 8067 | + </dev:type> |
| 8068 | + <dev:defaultValue>False</dev:defaultValue> |
| 8069 | + </command:parameter> |
7962 | 8070 | </command:parameters>
|
7963 | 8071 | <command:inputTypes>
|
7964 | 8072 | <command:inputType>
|
|
0 commit comments