With <# #> I can create a help topic in a blank script (meaning that in an otherwise blank script except for the help content when i type help scriptname.ps1 I get what I expect, the help content) but when I use this in an existing script the help just writes the scriptname as output.
I clearly am looking over something very obvious but thought I try the forums to try to get a quick answer.
I have the following script (see link: replaced servernames and UNC paths with _ but it basically goes for everything that has <# #> and then a few lines of code.
For anyone wondering what the script is. I have a colleague that performs wonderfull stuff business wise but has no idea how to set up a proper database so we are stuck with an Access database with no unique id’s. Luckily for me Powershell has great functionallity and when parsing csv files into one for import in Access we also delete all doubles and perform some extra actions that should have been taken care of by others but aren’t.
If anyone can give me a nudge in the right direction it is greatly appriciated!