Invoke-PuppetGenerator -ComputerName 'host01','host02' 
In order to use PuppetManifestGenerator, first install it on your workstation using these instructions. Then follow some examples here or use Get-Help Invoke-PuppetGenerator for some more detailed information.