PSWriteHTML
Pode
PSWriteHTML | Pode | |
---|---|---|
24 | 40 | |
775 | 780 | |
1.8% | - | |
9.1 | 9.1 | |
3 months ago | 12 days ago | |
PowerShell | PowerShell | |
MIT License | GNU General Public License v3.0 or later |
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
Pode
-
HTTP server in powershell for Sharing files
I use Pode for my little projects. One mocks the api's of a device for testing a module with out having the device exposed to the internet for GitHub actions. Pode also works well under Linux.
-
Web Application for running powershell locally
have a look at those solutions: ScriptRunner PowerShell Universal Pode
-
Non-SysAdmin Use Cases for PowerShell? Basically, any use cases NOT involving network, RDP, system config, IT/LAN admin type stuff?
Some software solutions have arisen from this sort of idea: * https://github.com/Badgerati/Pode * https://ironmansoftware.com/powershell-universal
-
How Do I create secure https://127.0.0.1:8080 instead of http://127.0.0.1 using powershell
Assuming you are trying to use powershell to create a listener for an API, I'd recommend not rolling your own and use PODE. https://badgerati.github.io/Pode/
- How common is powershell used in jobs?
-
GUI w/ powershell scripts
Pode .Net/PowerShell web server
- gui for powershell
-
How to make an API with PowerShell scripts as the back end?
Use the Pode framework. This is pretty much exactly what you need. It's insanely easy as well.
-
How Much Coding in the Life of a DevOps?
You can also build web apps / REST APIs in native PowerShell, using this well-supported community module: https://github.com/Badgerati/Pode
-
Powershell 7 - one liner for a webpage
You can technically achieve this with Pode in one line, if it's a website with just static content.
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.
powershell-universal - PowerShell Universal is the ultimate platform for building web-based IT tools.
Front-End-Web-Development-Resources - This repository contains content which will be helpful in your journey as a front-end Web Developer
Polaris - A cross-platform, minimalist web framework for PowerShell
dbatools - ๐ SQL Server automation and instance migrations have never been safer, faster or freer
PowerShell-Red-Team - Collection of PowerShell functions a Red Teamer may use in an engagement
ImportExcel - PowerShell module to import/export Excel spreadsheets, without Excel
Pode.Web - Web template framework for use with the Pode PowerShell web server
Testimo - Testimo is a PowerShell module for running health checks for Active Directory against a bunch of different tests
WebServer - Powershell WebServer is a Powershell module that starts a webserver (without the need for IIS)
curriculum - The open curriculum for learning web development
go - The Go programming language