Developer PowerShell is a PowerShell profile that is optimized for development. It is a collection of scripts and configurations that are used to set up a development environment. The profile is designed to be used with the OctoMesh development environment.
Clones all main repositories to your root directory.
Sync-AllGitRepos
Pulls all repositories starting with octo-* or mm-*. Branch Parameter: -branch specifies branch directory (empty = main).
Sync-GitRepo
Pulls a repository from GitHub using the current directory by default or defining a parameter repositoryPath.
Push-GitRepo
Pushes a repository to GitHub using the current directory by default or defining a parameter repositoryPath.
Push-AllGitRepos
Pushes all repositories starting with octo-*or mm-*.
Get-AllGitRepStatus
Gets the status of all repositories starting with octo-* and mm-*. Branch Parameter: -branch specifies branch directory (empty = main).
Compare-BranchStatus
Compares current branch against origin/main for all octo-* and mm-* directories. Shows if commits are code changes, submodule updates, or merges. Use -Details for commit-level information.
Invoke-CleanAllGitRepos
Cleans all repositories starting with octo-* and mm-*. The force parameter is set to false by default.
Invoke-SwitchAllBranches
Switches all repositories to a specified branch. Branch Parameter: -branch specifies target branch directory.
Stops services started in non-interactive mode (Start-Octo -nonInteractive $true) by writing a .octo-stop signal file. Branch Parameter: -branch specifies branch directory.
Kind (Install-OctoKubernetes) is the only supported local infrastructure. The docker compose commands below print a deprecation warning and will be removed on 2026-12-31. See Migrating from docker compose.
For further information on the infrastructure management and requirements please refer to the infrastructure documentation
Command
Description
Install-OctoKubernetes
Sets up the local kind cluster with MongoDB, CrateDB and RabbitMQ, the CRDs, ingress and the Communication Operator. The only supported local infrastructure. Safe to run again; upgrades an existing CrateDB without ever downgrading it.
Install-OctoInfrastructure
Deprecated (removal 2026-12-31). Uses the Docker Compose file located at infrastructure to compose the infrastructure dependencies.
Uninstall-OctoInfrastructure
Deprecated (removal 2026-12-31). Uninstalls the infrastructure dependencies by using the Docker Compose file at infrastructure.
Start-OctoInfrastructure
Deprecated (removal 2026-12-31). Starts the infrastructure dependencies by using the Docker Compose file at infrastructure.
Stop-OctoInfrastructure
Deprecated (removal 2026-12-31). Stops the infrastructure dependencies by using the Docker Compose file at infrastructure.
Get-OctoInfrastructureStatus
Deprecated (removal 2026-12-31). Gets the status of containers by using the Docker Compose file at infrastructure.
Invoke-KillDotnet
Windows only. Kills all dotnet processes. This is necessary to avoid file locks during build process.
Finds NuGet packages for version 999.0.0 and copies them to $NUGETPATH using the current directory by default or defining a parameter directory. Branch Parameter: -branch specifies branch directory.
Copy-AllNugetPackages
Scans all octo-* and mm-* directories for NuGet packages for version 999.0.0 and copies them to $NUGETPATH.
Remove-GlobalNugetPackages
Removes in the global NuGet package folder ($GLOBALNUGETPACKAGESPATH) all MeshMaker NuGet packages in version 999.0.0. Branch Parameter: -branch specifies branch directory.
Sync-NugetPackages
Copies, removes globally, and restores NuGet packages.
Creates a test branch for all octo-* repositories with format /test/0.x-description and updates version in Directory.Build.props. Required Parameters: -Version (2-999), -Description. Optional: -NoPush to skip pushing to remote.
Unified context registration for any OctoMesh installation. Required Parameters: -Installation (the name of an entry in your octo-tools configuration's installations[] block — e.g. local) and -TenantId. Optional: -UriSuffix (substituted into the {0} placeholder in service URL templates, so a single entry can cover preview sub-environments), -IncludeReporting, -IncludeAi, -NoSwitch (don't switch active context), -NoLogin (skip interactive login). Replaces the former Invoke-OctoCliLogin{Local,Production,Staging,Test2} helpers.
Invoke-OctoCliReconfigureLogLevel
Allows for reconfiguring of Log levels of Identity, AssetRepository, Bot and CommunicationController. Required Parameters: loggerName, minLogLevel and maxLogLevel
These backup commands only work on the docker compose volumes and will be removed on 2026-12-31 together with docker compose.
Backups operate on the infrastructure Docker volumes (MongoDB replica set and CrateDB cluster). The infrastructure must be stopped (Stop-OctoInfrastructure) before creating or restoring a backup; volumes are preserved. Backups are stored under infrastructure/backups/.
Command
Description
Backup-OctoInfrastructure
Deprecated (removal 2026-12-31). Creates a backup of all infrastructure Docker volumes (MongoDB + CrateDB). Optional Parameter: -Name (defaults to a yyyyMMdd-HHmmss timestamp).
Restore-OctoInfrastructure
Deprecated (removal 2026-12-31). Restores infrastructure Docker volumes from a named backup. Required Parameter: -Name. Run without -Name to list available backups.
Get-OctoInfrastructureBackup
Deprecated (removal 2026-12-31). Lists all available backups with volume count and total size.
Remove-OctoInfrastructureBackup
Deprecated (removal 2026-12-31). Deletes a named backup. Required Parameter: -Name. Optional: -Force to skip the confirmation prompt.
Invoke-MongoPortForward
Port-forwards the MongoDB service for direct database access (e.g. via a Mongo client).