# Install and Update

## Install OSDSoftware

The **OSDSoftware** PowerShell Module is installed from the **PowerShell Gallery**.  Use the following commands in PowerShell

```
Install-Module OSDSoftware
Import-Module OSDSoftware -Force
```

## Update OSDSoftware

The easiest way to Update the **OSDSoftware** PowerShell Module is with the following **PowerShell** command

```
Update-ModuleOSDSoftware
```

This will remove previous versions of **OSDSoftware**, and install the latest version

You can also use the following commands

```
Uninstall-Module OSDSoftware -AllVersions -Force
Install-Module OSDSoftware
Import-Module OSDSoftware -Force
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://osdsoftware.osdeploy.com/module/install-and-update.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
