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

Add support for complex objects, namely PSCredentials in Private functions #2

Closed
iricigor opened this issue May 9, 2018 · 4 comments · Fixed by #41
Closed

Add support for complex objects, namely PSCredentials in Private functions #2

iricigor opened this issue May 9, 2018 · 4 comments · Fixed by #41
Assignees
Labels
new feature New feature or request
Milestone

Comments

@iricigor
Copy link
Owner

iricigor commented May 9, 2018

For example, PSCredentials can be parsed as username + password fields in index.html and in run.ps1 it will build PSCredentials from these two input values

@iricigor iricigor added the new feature New feature or request label May 9, 2018
@iricigor
Copy link
Owner Author

What examples are good?

@iricigor iricigor added this to the 0.7 milestone May 12, 2018
@iricigor
Copy link
Owner Author

iricigor commented May 18, 2018

In the total, list of tasks is:

  • update Convert-ParametersToHTML - to generate two merged fields: username and password
  • update Convert-ParametersToRunner - to create a PSCredential object based on sent username and password
  • add a test: created HTML file should have Credential-UserName and Credential-Password objects
  • add an example: create New-PSDrive to some read-only share on my VM and then run Get-ChildItems or Get-Content there. The example requires -PostCode switch which will be implemented in Add -PostScript parameter #27

@iricigor iricigor self-assigned this May 21, 2018
@iricigor
Copy link
Owner Author

Code ready for testing online, example still missing

Gonna merge in order to pickup other changes

@iricigor
Copy link
Owner Author

Added some basic example (Invoke-Command), but still no meaningful example. New issue #39 opened for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant