Created
July 31, 2020 08:08
-
-
Save nickkeers/b7371dd3aba73aa7b5a1a69a0a88b90f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$contents = Get-Process | ConvertTo-Html -Fragment -PreContent "<html><head><title>Processes</title><link href=`"https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css`" rel=`"stylesheet`" /></head><body>" -PostContent "</body></html>" | |
$contents -replace "<table>", "<table class=`"table`">" | Out-File processes.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment