I've created a custom Powershell provider. However, currently there are a few steps people have to do to get it working on a user's computer:
- configure Powershell to run against .Net 4 (add a config file in c:\Windows\System32\WindowsPowerShell\v1.0)
- add a custom formatter (to the System32 for c:\Windows\System32\WindowsPowerShell\v1.0).
- register the snap-in.
The remainder setup steps are completed by a custom powershell script.
I was wondering if anyone could share their experiences on simplifying the process. Ideally I'd like people to run from a single command (ideally a CommandLet that's completes all the above steps.
Has anyone got any Links or Suggestions or Best Practise they could share?