Product Documentation

New-SfStorefrontAddress

Oct 21, 2016

Applies one or more modifications to a profile management configuration set.

Syntax

New-SfStorefrontAddress -Name <String> -Url <String> -Enabled <Boolean> -Description <String> [<CommonParameters>]

Detailed Description

Use this cmdlet to edit the configurations for profile management. The cmdlet defines one input parameter for each settable property. Any number of these settings can be modified in a single call to the cmdlet. The cmdlet also requires the low-level byte array blob containing the original configuration set to be modified. It will return an updated byte array with the settings applied. The resulting byte array can then be stored back at the Broker.

Related topics

Parameters

-Name<String>

Required? true
Default Value  
Accept Pipeline Input? false

-Url<String>

Required? true
Default Value  
Accept Pipeline Input? false

-Enabled<Boolean>

Required? true
Default Value  
Accept Pipeline Input? false

-Description<String>

Required? true
Default Value  
Accept Pipeline Input? false

Input Type

None

Return Values

byte[]

The new configuration set, with all of the given modifications applied.

Examples

-------------------------- EXAMPLE 1 --------------------------

C:PS> $blob = New-SfStorefrontAddress 
 
C:PS> $updatedBlob = Set-SfStorefrontAddress -ByteArray $blob -ServiceActive $true -UserStorePath \\ProfileServer\Profiles$\%USERNAME%.%USERDOMAIN

The first command creates a new user profile configuration in its default state, and stores the byte array in a Windows PowerShell variable. The second command then edits this configuration by setting the ServiceActive property to TRUE (which has the effect of enabling the profile management service), and by setting the path to the profile store. All other settings remain unaffected, and hence in their default state.