Skip to content

Commit

Permalink
chore: Move variables inside the splat instead to make it easier to read
Browse files Browse the repository at this point in the history
  • Loading branch information
jjrcluedin committed Aug 8, 2024
1 parent 91921bd commit 1186545
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions docs/200-kb/kb0011-configuration-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,10 @@ To get the IDs of specific parameters, you will need to use the front end and na
**Note**: We will be using the ficticious front end `https://cluedin-source.customer.com` in the example below.

```powershell
$BaseURL = 'customer.com'
$Organization = 'cluedin-source'
$BackupPath = '/path/to/export-20240403'
$params = @{
BaseURL = ${BaseURL}
Organization = ${Organization}
BackupPath = ${$BackupPath}
BaseURL = 'customer.com'
Organization = 'cluedin-source'
BackupPath = '/path/to/export-20240403'
}
/path/to/CluedIn.Product.Toolkit/Scripts/Export-CluedInConfig.ps1 @params
Expand Down Expand Up @@ -84,14 +80,10 @@ To get the IDs of specific parameters, you will need to use the front end and na
**Note**: We will be using the ficticious front end `https://cluedin-destination.customer.com` in the example below.

```powershell
$BaseURL = 'customer.com'
$Organization = 'cluedin-destination'
$RestorePath = '/path/to/export-20240403'
$params = @{
BaseURL = ${BaseURL}
Organization = ${Organization}
RestorePath = ${$RestorePath}
BaseURL = 'customer.com'
Organization = 'cluedin-destination'
RestorePath = '/path/to/export-20240403'
}
/path/to/CluedIn.Product.Toolkit/Scripts/Import-CluedInConfig.ps1 @params
Expand Down

0 comments on commit 1186545

Please sign in to comment.