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

Introduce Automated ADK Retrieval and Installation Functions #14

Merged
merged 2 commits into from
Mar 23, 2024

Conversation

zehadialam
Copy link
Contributor

This pull request introduces enhancements to the project's functionality, focusing on the automatic retrieval and installation process of the Windows ADK and WinPE add-on for the ADK.

New Features:

Get-ADKURL Function: retrieves the download URL for the specified ADK option (either "Windows ADK" or "WinPE add-on") from the "Download and install the Windows ADK" page. It utilizes web scraping to extract the URL dynamically.

Install-ADK Function: downloads the specified ADK option from the obtained URL and silently installs it on the system.

These functions are invoked within the Get-ADK function to automate the installation of the ADK in cases where it is not yet installed.

Verbose output

This commit introduces two new functions, Get-ADKURL and Install-ADK, to facilitate the retrieval and installation of the Windows Assessment and Deployment Kit (ADK) components.

The Get-ADKURL function retrieves the download URL for the specified ADK option (either "Windows ADK" or "WinPE Add-on") from the official Microsoft documentation page. It utilizes web scraping to extract the URL dynamically.

The Install-ADK function downloads the specified ADK component from the obtained URL and installs it silently on the system. It handles errors gracefully and cleans up the temporary installation file after completion.

These functions enhance the automation capabilities of the project by simplifying the process of acquiring and installing ADK components required for Windows deployment and assessment tasks.
@rbalsleyMSFT rbalsleyMSFT merged commit 48c31bc into rbalsleyMSFT:11-24031 Mar 23, 2024
1 check passed
@rbalsleyMSFT rbalsleyMSFT mentioned this pull request Mar 23, 2024
@zehadialam zehadialam deleted the 11-24031 branch April 15, 2024 23:38
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

Successfully merging this pull request may close these issues.

2 participants