> For the complete documentation index, see [llms.txt](https://osdcatalog.osdeploy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://osdcatalog.osdeploy.com/module/functions/new-osdcatalog.md).

# New-OSDCatalog

## Comment Based Help

```
<#
.SYNOPSIS
Creates Stand Alone Update Catalogs from WSUS.  Used by OSDBuilder and OSDUpdate

.DESCRIPTION
Creates Stand Alone Update Catalogs from WSUS.  Used by OSDBuilder and OSDUpdate

.LINK
https://osdcatalog.osdeploy.com/module/functions/new-osdcatalog

.PARAMETER WsusServer
WSUS Server Name

.PARAMETER WsusPort
WSUS Server Port.  Defaults to 8530

.PARAMETER CatalogName
Custom Catalog Name.  Default Name is the WSUS Update Category Name

.PARAMETER DownloadUri
Mirrors the selected Internet or WSUS Uri location.  Useful for hiding WSUS Server Information from Results

.PARAMETER GridViewGetUpdates
Select the GetUpdates in GridView before the Files are processed

.PARAMETER GridViewResults
Select the Results in GridView before the XML is created

.PARAMETER SaveDirectory
Directory to save the exported CliXml Catalogs

.PARAMETER UpdateCategory
Sets the Update Category.  If omitted, all Update Categories will be presented in GridView

.PARAMETER UpdateTextIncludes
Optionally search for the specified string in the WSUS Database

.PARAMETER UpdateTextNotIncludes
Removes results that contain the specified string

.PARAMETER OSDeployCatalog
Generates Update Catalogs used by OSDUpdate and OSDBuilder

#   Other Great Links
#   https://www.powershellgallery.com/packages/PoshWSUS
#   https://devblogs.microsoft.com/scripting/get-windows-update-status-information-by-using-powershell/
#   https://www.reddit.com/r/PowerShell/comments/3b979k/wsus_updates_combining_the_results_of_two/
#>
```


---

# 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://osdcatalog.osdeploy.com/module/functions/new-osdcatalog.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.
