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-AzDtlLabUser vs. Add-AzDtlUser #717

Open
DynConcepts opened this issue Nov 19, 2020 · 3 comments
Open

Add-AzDtlLabUser vs. Add-AzDtlUser #717

DynConcepts opened this issue Nov 19, 2020 · 3 comments

Comments

@DynConcepts
Copy link

the PowerSheell module has the former.... but the landing page (first thing people see) has the latter.... Not a good experience when the initial attempt to just use what is posted does not even have the right commands....

@petehauge
Copy link
Collaborator

Thanks for the feedback! I think this is a good change and we can get this updated.

@DynConcepts
Copy link
Author

DynConcepts commented Nov 19, 2020

A good change???..

I consider it a major BUG (at the documentation at least...) and it is not the only one. Your front page sample also has Set-AzDtlLabShutdownPolicy which does NOT exist....

When was the last time someone actually ran that code? Why is th
e code shown on that page not part of your Unit Testing?

@petehauge
Copy link
Collaborator

The PowerShell module is currently a sample and I'm happy to update the sample to align the naming conventions if that helps usability.

I have nightly tests that run against the sample module code testing about 80% of the module. I don't have unit tests that run against the text in the docs... The commandlet name in the powershell module is "AzDtlLabShutdown".

There is probably some confusion between this sample, Az.DevTestLabs2 (located here: https://github.com/Azure/azure-devtestlab/tree/master/samples/DevTestLabs/Modules/Library ) and the official PowerShell DTL module Az.DevTestLabs (located here: https://www.powershellgallery.com/packages/Az.DevTestLabs/1.0.2 , docs are here: https://docs.microsoft.com/en-us/powershell/module/az.devtestlabs/?view=azps-5.1.0 ). The plan was to experiment with the sample, if it's useful for users we can incorporate the code into the official module.

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

3 participants