Skip to content

ConvertTo-Markdown -AsTable processing of some characters seems to prematurely end the table #97

@mdcaddic

Description

@mdcaddic

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Connect to ExchangeOnline
  2. $rules = Get-TransportRule
  3. $rules | Select-Object Name, Priority, Description | ConvertTo-Markdown -AsTable | Out-File -Encoding utf8 rules.md
  4. View output in vscode

Expected behavior
Complete table.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Windows 10
  • Module Version 2.32.0
  • 5.1.19041.546

Additional context
This is the output from the convertto-markdown

Name Priority Description
Block executable content 0 If the message:
includes an attachment with executable content

Take the following actions:
reject the message and include the explanation 'The email contains an attachment that is not allowed' with the status code: '5.7.1'
|
| Block External Forwarding | 1 | If the message:
Is sent to 'Outside the organization'
and Is message type 'Auto-forward'
and Is received from 'Inside the organization'
Take the following actions:
reject the message and include the explanation 'AutoForward to External Recipients is not allowed' with the status code: '5.7.1'
|
| encrypt_external_emails | 2 | If the message:
Is sent to 'Outside the organization'
Take the following actions:
rights protect message with RMS template: 'Encrypt'
|

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions