2019-12-13 09:48:00 -05:00
|
|
|
function Add-ContentToMarkdown {
|
2020-04-14 06:51:57 +01:00
|
|
|
|
2019-12-13 09:48:00 -05:00
|
|
|
param(
|
|
|
|
|
$Content = ""
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
Add-Content 'C:\InstalledSoftware.md' $Content
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function Add-SoftwareDetailsToMarkdown {
|
|
|
|
|
[CmdletBinding()]
|
|
|
|
|
param(
|
|
|
|
|
$SoftwareName = "",
|
|
|
|
|
$DescriptionMarkdown = ""
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
$Content = @"
|
|
|
|
|
|
|
|
|
|
## $SoftwareName
|
|
|
|
|
|
|
|
|
|
$DescriptionMarkdown
|
|
|
|
|
"@
|
|
|
|
|
Add-ContentToMarkdown -Content $Content
|
|
|
|
|
}
|