PSWriteHTML
ImportExcel
Our great sponsors
PSWriteHTML | ImportExcel | |
---|---|---|
24 | 98 | |
774 | 2,354 | |
2.5% | - | |
9.1 | 5.7 | |
3 months ago | 6 days ago | |
PowerShell | PowerShell | |
MIT License | Apache License 2.0 |
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.
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
ImportExcel
- Show HN: Query Your Sheets with SheetSQL
-
Is there a function similar to VLOOKUP in Excel?
Examples here that are similar to what you are trying to accomplish - https://github.com/dfinke/ImportExcel
- Automate Excel with only powershell?
-
PS Module "ImportExcel" - Output is faulty
Did you visit the GitHub repo and read the docs & examples? https://github.com/dfinke/ImportExcel
-
ImportExcel and conditional formatting inconsistancies
If you can create a reproducible example with sample data and code that re-creates the issue from nothing, post it to the project's issues on Github. The module's authors have been very quick to resolve the issues I've had, usually fixing the problem in a week or two.
- How do I ingest data from a daily CSV report into a 'main' report?
-
Create multiple tables from a single table based on a column?
If you're using scripting, I have to recommend ImportExcel for Powershell.
-
update csv cell without new export
You might be able to use https://github.com/dfinke/ImportExcel to alter single cells in a csv file but I'm not 100% sure.
-
PowerShell Export-Excel Pivot Table Issue
Have you looked at the examples? Examples
-
Powershell & MSWord: Pulling AD Information and making it look “nice”?
Maybe look at ImportExcel, it allows to put any list of objects right into Excel sheets, with insane customization capabilities.
What are some alternatives?
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.
sqlite-utils - Python CLI utility and library for manipulating SQLite databases
Front-End-Web-Development-Resources - This repository contains content which will be helpful in your journey as a front-end Web Developer
WinPython - A free Python-distribution for Windows platform, including prebuilt packages for Scientific Python.
dbatools - 🚀 SQL Server automation and instance migrations have never been safer, faster or freer
psPAS - PowerShell module for CyberArk Privileged Access Security REST API
curriculum - The open curriculum for learning web development
PoshBot - Powershell-based bot framework
Testimo - Testimo is a PowerShell module for running health checks for Active Directory against a bunch of different tests
PSScriptAnalyzer - Download ScriptAnalyzer from PowerShellGallery
website - Syntax Podcast Website
platform-compat - Roslyn analyzer that finds usages of APIs that will throw PlatformNotSupportedException on certain platforms.