Sets a custom variable for a tenant in the CIPP system.
The Set-CIPPCustomVariable function creates or updates a custom variable for a specific tenant, or for all tenants when using 'AllTenants'.
![]()
![]()
The tenant ID to scope the custom variable to, or 'AllTenants' for a global variable.
PS > Set-CIPPCustomVariable -CustomerTenantID "12345678-1234-1234-1234-1234567890ab" -VariableName "WallpaperPath" -Value "C:\Wallpapers"PS > Set-CIPPCustomVariable -CustomerTenantID "AllTenants" -VariableName "CompanyName" -Value "Contoso" -Description "Global branding variable"