PSParseHTML
PSWriteHTML
PSParseHTML | PSWriteHTML | |
---|---|---|
1 | 24 | |
64 | 775 | |
- | 1.8% | |
8.1 | 9.1 | |
2 months ago | 3 months ago | |
PowerShell | PowerShell | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PSParseHTML
-
Pulling Processor list from Wikipedia
Here's one approach using PSParseHTML PowerShell module: - Sources: https://github.com/EvotecIT/PSParseHTML - Some blog post showing other usages: https://evotec.xyz/getting-azure-health-parsing-html-website-using-psparsehtml/
PSWriteHTML
- Windows Server Report
- Non-SysAdmin Use Cases for PowerShell? Basically, any use cases NOT involving network, RDP, system config, IT/LAN admin type stuff?
- Tools or script to gather data to a central location
-
Powershell & MSWord: Pulling AD Information and making it look βniceβ?
There are some cool PowerShell HTML modules, run Install-Module PSWriteHtml and go to town. Check our their list of articles (just scroll down a little in the ReadMe) for a really easy way to get started: https://github.com/EvotecIT/PSWriteHTML
-
Powershell dynamic HTML table
Import-module Import-Module PSWriteHTML Gathering Data $results = [pscustomobject] @{ 'Source DC' = "Myserv.HostName.ToUpper()" 'Partner DC' = "N/A" Direction = "N/A" Type = "N/A" 'Last Attempt' = "N/A" 'Last Success' = "N/A" 'Last Result' = "1" } # Prepare to export in a beautiful HTML file $ReportPath = "$PSScriptRoot\DHCPReport-At-$(Get-Date -f "dd-MM-yyyy").html" # Optional settings : set default values for some cmdlets (I'm lazy) $PSDefaultParameterValues = @{ "New-HTMLSection:HeaderBackGroundColor" = "Green" "New-HTMLSection:CanCollapse" = $true } New-HTML -FilePath $ReportPath -Online -ShowHTML { # First Tab New-HTMLTab -Name 'DC Health Report' { New-HTMLSection -HeaderText "Replication Status" { # Here, we're putting all Data previously gathered in the var $Result New-HTMLTable -DataTable $results { New-TableCondition -Name "Last Result" -Operator ne -Value "N/A" -BackgroundColor red -Color white -Alignment center New-TableContent -Alignment center } #end-newHtmlTable } # end New-htmlSection # In the same Tab, you could add another section (of course in my case, this section is empty New-HTMLSection -HeaderText "Replication Status2" { # Here, we're putting all Data previously gathered in the var $Result2 New-HTMLTable -DataTable $results2 { New-TableCondition -Name "Last Result" -Operator ne -Value "N/A" -BackgroundColor red -Color white -Alignment center New-TableContent -Alignment center } #end-newHtmlTable } # end New-htmlSection } # end New-HtmlTab # But you could add some other tabs New-HTMLTab -Name 'DC Health Report2' { New-HTMLText -FontSize 16 -Color blue -Text @( "This is a text with a lion to [PSWriteHTML Github site](https://github.com/EvotecIT/PSWriteHTML)." "This is not really difficult" ) } # end New-HtmlTab } # end-New-html
- Need help with HTML report
- Change cell color in HTML table based on value or IF statements
- Filling Colour in specific row HTML table in email
-
using HTML with Powershell to set colours for data
Have you consider to use the wonderful PS module called PSWriteHtml (available also on PSGallery of course) ?
-
Changing color of certificates which will expire in next 90 days from the complete list.
To build on this there is a nice powershell module for HTML noobs called PSWriteHTML
What are some alternatives?
Front-End-Web-Development-Resources - This repository contains content which will be helpful in your journey as a front-end Web Developer
Dashimo - Dashimo is very simple, intuitive PowerShell generated HTML file. That's right. A single, static HTML file that you can send to email or host on a website.
Habitica - A habit tracker app which treats your goals like a Role Playing Game.
shoelace-css - A collection of professionally designed, every day UI components built on Web standards. SHOELACE IS BECOMING WEB AWESOME. WE ARE LIVE ON KICKSTARTER! πππ
dbatools - π SQL Server automation and instance migrations have never been safer, faster or freer
Web-Dev-For-Beginners - 24 Lessons, 12 Weeks, Get Started as a Web Developer
ImportExcel - PowerShell module to import/export Excel spreadsheets, without Excel
Testimo - Testimo is a PowerShell module for running health checks for Active Directory against a bunch of different tests
curriculum - The open curriculum for learning web development
website - Syntax Podcast Website
PSPasswordExpiryNotifications - Following PowerShell Module provides different approach to scheduling password notifications for expiring Active Directory based accounts. While most of the scripts require knowledge on HTML... this one is just one config file and a bit of tingling around with texts. Whether this is good or bad it's up to you to decide. I do plan to add an option to use external HTML template if there will be requests for that.