Parses a config file generated by VMware OS Optimization Tool into actual executable commands which can then be executed without using the OSOT program, e.g. as part of a deployment task sequence. You can get the script from the PSGallery: https://www.powershellgallery.com/packages/Parse-OSOTConfig or download it here.
Parse-OSOTConfig.ps1 -OSOTFile -OutPath [-UsePowerShellForServiceCommands ] [-UsePowerShellForSchTasksCommands ] [-AddCommentsToOutput ] [-PassThru ] [-MaskExtensions ] [-SuppressFileOutput ]
If -SuppressFileOutput is not specified, the script will create following files in $OutPath:
Only files containing actual commands are generated. If -MaskExtensions is specified, all executable files are appended with .txt, making sure they cannot be executed on a wrong system by mistake.