Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added SPE script to help change the Business Tools Url * Fixed variable name
- Loading branch information
1 parent
6d9715e
commit 2cf949a
Showing
11 changed files
with
35 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
param( | ||
[string]$InstanceUrl = "habitathome.dev.local", | ||
[string]$BizToolsUrl, | ||
[string]$AdminUsername, | ||
[string]$AdminPassword) | ||
$ErrorActionPreference = 'Stop' | ||
|
||
Import-Module SPE | ||
Write-Host ("Connecting to {0}" -f $instanceUrl) | ||
|
||
$session = New-ScriptSession -Username "$AdminUsername" -Password "$AdminPassword" -ConnectionUri $("https://" + $InstanceUrl) | ||
|
||
Invoke-RemoteScript -Session $session -ScriptBlock { | ||
(Get-Item -Path "core:/client/Applications/Launchpad/PageSettings/Buttons/Commerce/BusinessTools").Link = ("{0}" -f $using:BizToolsUrl) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters