> 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

22.1.11

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)

![](https://3996045416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDKRxGiKLYjW1gana2O%2Fuploads%2FqJBPKwZKzaA0Nh1oxoy3%2Fimage.png?alt=media\&token=73671585-dc01-4932-a0ed-5ed6a702e05e)

![](https://3996045416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDKRxGiKLYjW1gana2O%2Fuploads%2Fl99YsExuvRGQdO3x2B2a%2Fimage.png?alt=media\&token=79759c7a-21ca-4605-9f9d-f41b93ac6f03)

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

![](https://3996045416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDKRxGiKLYjW1gana2O%2Fuploads%2F2cc11ZJIIBsZICCBrq8Q%2Fimage.png?alt=media\&token=993820d8-fe15-43a6-beb5-ddbf7caf79aa)

## Get-GithubRawContent

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

![](https://3996045416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDKRxGiKLYjW1gana2O%2Fuploads%2FooiW46irek5tPFXatFEY%2Fimage.png?alt=media\&token=b605771d-7ec1-495e-9971-0d4c27fb9c6f)

## Resolve-MsUrl

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

![](https://3996045416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDKRxGiKLYjW1gana2O%2Fuploads%2F9Zr6gejcMNNPjjtJWBgK%2Fimage.png?alt=media\&token=3dba6450-fb6a-408f-93a3-b315c01d18c7)

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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
