@ayashkam said in Post Download Scripts and Powershell:
I was wondering if it would be possible to execute a Powershell script on a target machine using post download scripts
The short answer is no. The FOS Linux engine (the OS that captures and deploys images) is linux based and powershell is Windows based. There is no way for FOS Linux to directly call powershell and interact with the windows target system. Postdownload and PostInit scripts have to be bash or csh based.
Once the target OS has started and the FOG Client is installed on the target computer you can run snapins on the target computer. Those snapins can call executable or scripts that execute on the target computer.
What are you trying to accomplish? As you see from that tutorial you can leave “breadcrumbs” behind, where windows WinSetup/OOBE can pickup and use. FOG’s main goal is to push the image to the target computer the fastest way possible, then exit. This leaves the target computer’s setup to complete the configuration process.
I use a snapin to install deb packages. But if I try to export and import the snapin i get problems with the encoding.
Snapin preferences befor export:
Snapin preferences after inport:
I have the same problem if i try to create a snapin with selenium and python.
Is there any way to masked the specialsigns?