Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PowerShell Core? #14

Open
KonTheCat opened this issue Nov 2, 2018 · 1 comment
Open

PowerShell Core? #14

KonTheCat opened this issue Nov 2, 2018 · 1 comment

Comments

@KonTheCat
Copy link

For reasons, in our environment we are using PowerShell Core as our primary PowerShell, reaching into the locally installed PowerShell when needed. I'm assuming your scripts are not going to support that, or will have issues with that. Is that correct? If I end up producing PowerShell Core scripts would you accept them for your collection?

@CalebAlbers
Copy link
Collaborator

Hey @KonTheCat,

You are correct - the scripts do not currently support PowerShell Core. The scripts rely on the IT Glue PowerShell Module, which utilizes the .NET SecureString type for storing API keys. Although this makes managing secure access for the API key easy, it relies on Microsoft's Data Protection API (DPAPI), which is not supported in PS Core.

I put in an Issue (itglue/powershellwrapper#43) to gauge interest in changing from SecureString to some sort of key-based storage method. I'm still playing around with what the best approach is because I want it to work on stateless systems like AWS Lambda, too.

Once the PowerShell module works on PS Core, the scripts should work no problem (some modification may be needed on the file shares script).

I'd definitely be open to suggestions or contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants