> For the complete documentation index, see [llms.txt](https://www.osdeploy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.osdeploy.com/archive/blog/2022/osd-january-update.md).

# OSD January Update

I've enjoyed taking some time off OSD to catch up on things going on in the office, and at home, but I have quietly been working on some updates for OSD and I thought I would share them. Keep in mind these changes will not be released until after Microsoft publishes today's Patch Tuesday updates.

## PowerShell Module Updates

* **OSD 22.1.11.1**
* **OSDSUS 22.1.11**

### New Functions

* **Get-GithubRawUrl**
* **Get-GitHubRawContent**
* **Resolve-MsUrl**

## OSDCloud Azure Blob SAS Images

This update includes support for an Azure Blob SAS Url as the ImageFile thanks to some modifications from [Iain Brighton](https://twitter.com/iainbrighton)

![](/files/ZNRzkSE2shw68F5x1h56)

![](/files/6HkfgnJQbhZgiZBdnjLb)

The downside of this is you now have a long URL that you won't remember, so you will probably want to put this in a script. The really really bad news is that this will be in plain text and that isn't a good thing. I'll address in an upcoming post

## Get-GithubRawUrl

This simple function is performing a simple conversion of the URL provided and returning the RAW link. One cool thing about this is that it will return multiple URL's when linked to a Gist with multip scripts

![](/files/UAdMZxUPJLI3fxiS7xtq)

## Get-GithubRawContent

This function takes a URL and returns the RAW content (using the `Get-GithubRawUrl` function)

![](/files/yeIqJcV6KqFSddecleHU)

## Resolve-MsUrl

This new function will resolve Microsoft aka.ms or fwlink URL's

![](/files/C94WoFKHQerE9oPOME9W)

It's actually quite a simple function you can easily do on your own

```powershell
PS C:\> (Invoke-WebRequest 'https://go.microsoft.com/fwlink/p/?LinkID=2182910' -UseBasicParsing -Method Head -MaximumRedirection 0 -ErrorAction SilentlyContinue).Headers.Location
https://oneclient.sfx.ms/Win/Prod/21.230.1107.0004/OneDriveSetup.exe
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://www.osdeploy.com/archive/blog/2022/osd-january-update.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
