Confluence prism macro commandLinePowerShell |
---|
dialogTitle | PowerShell command line |
---|
directory | C:\Temp |
---|
|
Get-Location
(out)
(out)Path
(out)----
(out)C:\Temp
(out)
Get-ChildItem
(out)
(out) Directory: C:\Temp
(out)
(out)Mode LastWriteTime Length Name
(out)---- ------------- ------ ----
(out)d----- 2/26/2022 12:00 PM New folder
(out)-a---- 2/26/2022 12:00 PM 22 New Compressed Folder.zip
(out)-a---- 2/26/2022 12:00 PM 0 New Microsoft Word Doc.docx
(out)-a---- 2/26/2022 12:00 PM 0 New Text Document.txt
|
Info |
---|
The example above demonstrates how the macro "Prism command line highlighter (PowerShell)" renders a PowerShell command line including the (input) command and the corresponding output. |
Macro content used to render the command line above:
Confluence prism macro |
---|
|
Get-Location
(out)
(out)Path
(out)----
(out)C:\Temp
(out)
Get-ChildItem
(out)
(out) Directory: C:\Temp
(out)
(out)Mode LastWriteTime Length Name
(out)---- ------------- ------ ----
(out)d----- 2/26/2022 12:00 PM New folder
(out)-a---- 2/26/2022 12:00 PM 22 New Compressed Folder.zip
(out)-a---- 2/26/2022 12:00 PM 0 New Microsoft Word Doc.docx
(out)-a---- 2/26/2022 12:00 PM 0 New Text Document.txt |