A [[PowerShell]] module for [[Hudu]] Documentation written by [[lwhitelock]].
[GitHub - lwhitelock/HuduAPI: A powershell API for Hudu Documentation](https://github.com/lwhitelock/HuduAPI)
# Installation
```powershell
install-module HuduAPI
```
# Setup
1. Generate an API key at https://your.hudu.domain/admin/api_keys
2. Add the API Key
```powershell
New-HuduAPIKey "YourKey"
```
3. Set base URL
```powershell
New-HuduBaseURL "https://your.hudu.domain"
```
# Commands
```powershell
New-HuduAPIKey
Get-HuduAPIKey
Remove-HuduAPIKey
New-HuduBaseURL
Get-HuduBaseURL
Remove-HuduBaseURL
Get-HuduAssets
Invoke-HuduRequest
Get-HuduCompanies
Get-HuduAssetLayouts
Get-HuduWebsites
New-HuduWebsite
Set-HuduMagicDash
Remove-HuduMagicDash
New-HuduAssetLayout
Get-HuduAssetLayoutFieldID
New-HuduAsset
Set-HuduAsset
Get-HuduArticles
New-HuduArticle
Set-HuduArticle
Get-HuduPasswords
Set-HuduPassword
New-HuduPassword
Remove-HuduPassword
Get-HuduActivityLogs
Set-HuduAssetLayout
Get-HuduCard
New-HuduCompany
Remove-HuduArticle
Remove-HuduAsset
Remove-HuduPassword
Remove-HuduWebsite
Set-HuduArticleArchive
Set-HuduAssetArchive
Set-HuduAssetLayout
Set-HuduCompany
Set-HuduCompanyArchive
Set-HuduPasswordArchive
Set-HuduWebsite
Get-HuduAppInfo
Get-HuduExpirations
```