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

Dependencies - List #66

Closed
PracticalCode opened this issue Aug 1, 2023 · 1 comment
Closed

Dependencies - List #66

PracticalCode opened this issue Aug 1, 2023 · 1 comment

Comments

@PracticalCode
Copy link

Good Evening,

I was looking at your project, and I've two questions:

#1. ) Where is the function [Create-LoginForm] defined? .. it's used in the following locations:

.\AccessToken.ps1
2232,15: $form=Create-LoginForm -Url $url -auth_redirect $auth_redirect

.\AzureManagementAPI_utils.ps1
603,17: $form = Create-LoginForm -Url $url -auth_redirect $auth_redirect

.\ComplianceAPI.ps1
35,17: $form = Create-LoginForm -Url $url -auth_redirect "https://login.microsoftonline.com/kmsi"

.\SPO_utils.ps1
88,17: $form = Create-LoginForm -Url $url -auth_redirect $auth_redirect -Headers "Cookie: $cookieHeaderValue"

C:\dev\ps1\AzurePurview\ComplianceAPI.ps1
36,17: $form = Create-LoginForm -Url $url -auth_redirect "https://login.microsoftonline.com/kmsi"

#2.) On your site, https://aadinternals.com/aadinternals/, you state, ""The module is a plain PowerShell script module...""; however, your project also contains a number of DLLs in the folder [./DSInternals] ...

i.e. ===

.\DRS_Utils.ps1
221,43: Add-Type -Path "$PSScriptRoot\DSInternals\NDceRpc.Microsoft.dll"
222,43: Add-Type -Path "$PSScriptRoot\DSInternals\DSInternals.Replication.Interop.dll"
223,43: Add-Type -Path "$PSScriptRoot\DSInternals\DSInternals.Replication.dll"

... where is the source code for them and/or a description of which methods are dependent upon them?

Thanks,

George

PS Note this is not to take away from all of the hard work you've done, & I greatly appreciate you're sharing your project. Thanks.

@NestoriSyynimaa
Copy link
Contributor

  1. Create-LoginForm function doesn't exist anymore in version 0.9.0 and later. The source of previous version is here:
    function Create-LoginForm
  2. The most of the code is pure PS, but some functionality couldn't be done via PS so yes, there are some dlls. The source code of files under DSInternals is here: https://github.com/Gerenios/DSInternals

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

No branches or pull requests

2 participants