Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.36 KB

File metadata and controls

33 lines (27 loc) · 1.36 KB

Set-CIPPCustomVariable

SYNOPSIS

Sets a custom variable for a tenant in the CIPP system.

DESCRIPTION

The Set-CIPPCustomVariable function creates or updates a custom variable for a specific tenant, or for all tenants when using 'AllTenants'.

PARAMETERS

-CustomerTenantID

Foo Foo
The tenant ID to scope the custom variable to, or 'AllTenants' for a global variable.

-VariableName

Foo Foo
The custom variable name to create or update.

-Value

Foo Foo
The value to assign to the custom variable.

-Description

Foo Foo
An optional description for the custom variable.

EXAMPLE 1

PS > Set-CIPPCustomVariable -CustomerTenantID "12345678-1234-1234-1234-1234567890ab" -VariableName "WallpaperPath" -Value "C:\Wallpapers"

EXAMPLE 2

PS > Set-CIPPCustomVariable -CustomerTenantID "AllTenants" -VariableName "CompanyName" -Value "Contoso" -Description "Global branding variable"