The PowerShell Book Generator

PowerShellBlueb

Have you always wanted to write a book with 100 or even 1000 or more pages? With Windows PowerShell and PowerShell Book Generator, it takes only a few seconds. The PowerShell Book Generator was created by the way on the last PSConf.eu and afterwards (I try to fill the time optimally and I hope to see you there again @psconf.eu in June 2020). Basically it is about implementing the internal PowerShell help for a topic completely in book form as PDF with table of contents.The idea came to me when I saw that there are more and more books where more and more content is simply copied from the internal help into the document. Of course the generator can also be used to document your own PowerShell modules. How does the internal PowerShell help work?

Continue reading
  500 Hits
  5 Comments
Recent Comments
Andreas Nick
Hi Jeff, it is a PowerShell Module. You can get it from the PowerShell Gallery (the actual source). Furthermore I will upload a cu... Read More
Friday, 07 February 2020 19:32
Andreas Nick
Thanks for the advice. I should have put that in. But I don't know if the pdf dll can do that. We'll see. Unfortunately, I won't h... Read More
Wednesday, 05 February 2020 14:11
Andreas Nick
as always, it's not quite as easy. I use iTextSharp. This afternoon I took a look at it and really invested a lot of time. When do... Read More
Thursday, 06 February 2020 20:27
500 Hits
5 Comments

App-V Server And Package Report

AppV_PC_Box

The basic version of the App-V server and vault report was created as a PowerShell script in mid-2019. In the tradition of Carl Webster, originally only one documentation script was to be created for an App-V environment. That means information about the SQL Server, the database and installation parameters as well as the provided App-V packages.In 2019 I quickly realized that this is a nice report but it does not contain the information I wanted. It often happens, for example, that the import of external configuration files is forgotten. Then no scripts are running or the services in the package are not deactivated and the user gets an update message after starting his application. Deployed applications behave strangely on the client and nobody knows why. Especially it is also a problem if those who once built the packages are no longer in the company. Nobody can know where which scripts are running and QA is everything.

Continue reading
  601 Hits
  0 Comments
601 Hits
0 Comments

App-V PowerShell Module AppVForcelets

App-V_2020_CD

Some time ago I created a PowerShell documentation script for an App-V server infrastructure. I reworked it with much effort in December 2019. Many functions that were previously mapped via the script have migrated into the module. In its current state the module is especially good for extracting information from the ".AppV" file but also for extracting information from the external configuration files UserConfig.xml and DeploymentConfig.xml.

Still the legal stuff: We do not give any warranty for the function or damages. The module is licensed under the MIT license. Program errors are not excluded.This year we plan to add more features to the module. First of all you can do some nice things with the module. You can download the module at the bottom of this blog. Alternatively you can download the current version from the PowerShell Gallery. If you install the module in UserScope (and PoSh 5.x) the package will be under Documents\WindowsPowerShell\Modules with the following command:

install-Module AppVForcelets -Scope CurrentUser
Continue reading
  357 Hits
  0 Comments
357 Hits
0 Comments

PowerShell Sign Code And Upload In The PowerShell Gallery

PowerShell_Pix

PowerShell_sign_code_and_upload_in_the_PowerShell galleryPowerShell_sign_code_and_upload_in_the_PowerShell galleryLast friday at the PowerShell Usergroup Hannover I briefly talked about CodeSigning for PowerShell modules for upload to the PowerShell Gallery. Well, the interest of my colleagues was bigger than expected and also some questions remained unanswered. Here also some things have changed. Fact is, most modules in the Gallery are unsigned. In the end, the question always arises, why sign at all, when the PowerShell execution policy can be so easily overridden?For example it is possible to execute arbitrary code with

Powershell.exe -ExecutionPolicy Bypass -File <PathToPowershellSkript.ps1>.

I have been using code signing certificates for my community PowerShell scripts for several years. This is especially well received by our customers. Our work is digitally signed with it. Furthermore the inhibitions are a little bit bigger to change scripts later because the signature block always has to be changed.

Continue reading
  259 Hits
  1 Comment
259 Hits
1 Comment

App-V Registry Staging Problems With Citrix PVS (MCS Images)

Simon_PSUGH_2019_h

A few weeks ago, one of our customers experienced the problem that some App-V applications were not started until the second start. This seemed to be caused by the registry staging of the App-V application. With App-V Registry Staging, data from the application is copied to the following area of the registry when the application (Publish AppVClientPackage) is released.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\Client\Packages\<PACKAGEID>\Versions\VERSIONID\REGISTRY

When the action is complete, an empty key RegistryStagingFinished is generated.

Continue reading
  911 Hits
  0 Comments
911 Hits
0 Comments

@nickinformation Tweets

My german Blog: 

http://www.software-virtualisierung.de

in 

Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.
More information