EtherAssist
  • Administration
  • Agent mode
  • Integrations
  • Getting Started
  • Models and AI
  • Partner portal
  • Security & Compliance
  • Settings
  • Support
  • Supported topics
  • Tools
  • Using EtherAssist
  • Windows 11 readiness
  • PowerShell
  • Release Notes

EtherAssist PowerShell module

The EtherAssist PowerShell module lets approved users call EtherAssist from scripts, consoles, and automation jobs.

Before you begin

  • Install the EtherAssist module only on trusted workstations or automation hosts.
  • Configure API keys through approved secret handling and never commit them to source control.
  • Use read-only examples first, then add write actions only after review.
  • Test scripts with sample data before running against production tenants.

Install

PowerShell module install prompt

Install-Module -Name EtherAssist -Repository PSGallery
Import-Module EtherAssist

Configure API access

Create an API key in EtherAssist, then configure the module:

Set-EAApiConfig -ApiKey "" -ApiUrl "https://api.etherassist.ai"
Get-EAApiConfig

For longer jobs, configure retry and timeout behaviour:

Set-EAApiAdvancedConfig -DefaultTimeout 60 -MaxRetries 5 -EnableLogging
Get-EAApiAdvancedConfig

Do not commit API keys, tokens, or generated configuration files to source control.

Core cmdlets

CmdletPurpose
Send-EARequestAsk EtherAssist a question.
Send-EACompletionSend a completion-style request.
Send-EAReflectiveRequestRequest a deeper reflective review.
Invoke-EAQueryStart an interactive console session.
Send-EAWebSearchRun an approved web-search style request.
New-EAKnowledgeArticleGenerate a knowledge article draft.
Get-EATitleGenerate a concise title from text.
Get-EATextSummarySummarise longer text.
Get-EAAzureBillSummarySummarise Azure billing-style input.
Get-EALogAnalysisAnalyse log text with -LogContent.
Get-EAErrorCodeDescriptionExplain an error code.
Get-EAAppDescriptionDescribe an application.
Get-EAAppInstallerArgsSuggest installer arguments.
Get-EAMsixAnalysisAnalyse MSIX manifest content.
Get-EAEntraThreatAnalysisAnalyse Entra threat data with -LogData.
Get-EAPcapAnalysisAnalyse packet-capture content supplied as base64.
Convert-EABatchToPsConvert batch script content to PowerShell.
Convert-EAVbsToPsConvert VBScript content to PowerShell.

Ask a question

Code view option

Send-EARequest -Question "Create a short Intune device sync troubleshooting checklist."

Useful output switches include:

  • -OutputAsJson
  • -OutputAsObject
  • -MuteQuestion
  • -MuteDateTime
  • -MuteAnswer

Analyse text

$log = Get-Content -Path ".\application.log" -Raw
Get-EALogAnalysis -LogContent $log
Get-EAErrorCodeDescription -ErrorCode "0x80070643"

Review security data

Get-EAEntraThreatAnalysis -LogData $entraThreatLogs

Use these cmdlets only with data you are authorised to process. Redact secrets and personal data where possible.

Safe automation pattern

  1. Start with read-only data collection.
  2. Validate input files and parameters.
  3. Avoid hard-coded secrets.
  4. Handle API failures and throttling.
  5. Log enough detail for support, but do not log tokens or sensitive payloads.
  6. Test against sample data before production use.

Update

Update-Module -Name EtherAssist

For a clean reinstall:

Uninstall-Module -Name EtherAssist -AllVersions
Install-Module -Name EtherAssist -Repository PSGallery -Force

Tips

  • Keep names, prompts, and configuration values specific to the task you are performing.
  • Check role, subscription, region, and tenant policy when a feature is not visible.

Troubleshooting

IssueWhat to check
Module command is not foundConfirm the module is installed, imported, and available in the current PowerShell session.
API request failsCheck API key configuration, network access, and retry settings.
Output is hard to auditUse JSON/object output and avoid logging secrets or raw sensitive content.

Next steps