You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Powershell has multiline comment syntax . <# code here #>
I just got a use out of it on newline escaped command.
# https://github.com/PowerShell/PSReadLine
# In this example, when you type a single quote or double quote, ...
Set-PSReadLineKeyHandler `
<# -Chord 'Oem7','Shift+Oem7' #> `
-Chord '''','"' `
...
The text was updated successfully, but these errors were encountered:
Ping. This bits me too. As you can see these comments end up to the left:
functionExport-ExcelCustom {
<#.SYNOPSISExports a collection of data to an Excel document with support for images..DESCRIPTIONThis cmdlet produces a styled Excel spreadsheet where the data maycontain System.Drawing.Image objects.If any images are present, the rows will all be resized to a uniformheight matching the tallest image available.Each column will be resized to match the widest image in that column..EXAMPLEExport-ExcelCustom -Path .\report.xlsx -InputObject (Get-VmsCameraReport -IncludeSnapshots) -ShowExports the results of Get-VmsCameraReport with images to an Excel document..INPUTS[object]#>
[CmdletBinding()]
param(
# Specifies a collection of data to export to Excel.
[Parameter(Mandatory)]
[object[]]
$InputObject,# Specifies the path to save the Excel document including the file name.
[Parameter(Mandatory)]
[string]
$Path,
Powershell has multiline comment syntax .
<# code here #>
I just got a use out of it on newline escaped command.
The text was updated successfully, but these errors were encountered: