public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* multi-line formatting with $
@ 2018-01-22  0:41 gid000765-Re5JQEeQqe8AvxtiuMwx3w
       [not found] ` <0cc11c55-a18d-486a-9f7f-d01e68bce3b8-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: gid000765-Re5JQEeQqe8AvxtiuMwx3w @ 2018-01-22  0:41 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1642 bytes --]

how would I go about formatting the following?

  $serviceName = 'name1'

  $userName = 'user1'

  $securePassword = '5ecr3tw0rd' | ConvertTo-SecureString -AsPlainText 
-Force

  $expirationDate = $(Get-Date).AddDays(31)

  $credential = New-Object System.Management.Automation.PSCredential 
$userName,$securePassword

  Set-AzureServiceRemoteDesktopExtension -ServiceName $serviceName 
-Credential $credential -Expiration $expirationDate -Slot Production

The corresponding content of a Word document includes the following (the 
problematic part is in bold):

$userName = 'user1'

$securePassword = '5ecr3tw0rd' | ConvertTo-SecureString -AsPlainText -Force

$expirationDate = $(Get-Date).AddDays(31)

$credential = New-Object System.Management.Automation.PSCredential 
*userName.securePassword*

Set-AzureServiceRemoteDesktopExtension -ServiceName $serviceName 
-Credential $credential -Expiration $expirationDate -Slot Production

Set-AzureServiceRemoteDesktopExtension -ServiceName $serviceName 
-Credential $credential -Expiration $expirationDate -Slot Staging ```

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/0cc11c55-a18d-486a-9f7f-d01e68bce3b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 38554 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-23  0:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-22  0:41 multi-line formatting with $ gid000765-Re5JQEeQqe8AvxtiuMwx3w
     [not found] ` <0cc11c55-a18d-486a-9f7f-d01e68bce3b8-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-01-22  0:59   ` John MacFarlane
     [not found]     ` <20180122005903.GB77076-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2018-01-23  0:50       ` gid000765-Re5JQEeQqe8AvxtiuMwx3w

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).