Skip to content

Instantly share code, notes, and snippets.

@elagrija
Created January 4, 2018 10:27
Show Gist options
  • Save elagrija/e0a0fd418e38138f755f065c47dc586d to your computer and use it in GitHub Desktop.
Save elagrija/e0a0fd418e38138f755f065c47dc586d to your computer and use it in GitHub Desktop.
Untitled
$Client = New-Object -TypeName System.Net.WebClient
$Client.Proxy.Credentials = [System.Net.CredentialCache]::DefaultNetworkCredentials
$client.DownloadFile('https://gist.githubusercontent.com/AndrewSav/c4fb71ae1b379901ad90/raw/23f2d8d5fb8c9c50342ac431cc0360ce44465308/SO33205298','C:\temp\local1.ps1')
$exec = New-Object -com shell.application
$exec.shellexecute('C:\temp\local1.ps1')
<<html>
<body>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
</body>
</html>
!-- content to be <placed inside <body>…</body> -->
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment