diff --git a/d365fo.tools/functions/get-d365lcsenvironmentrsatcertificate.ps1 b/d365fo.tools/functions/get-d365lcsenvironmentrsatcertificate.ps1 index 0a1edc8b..72c07ed9 100644 --- a/d365fo.tools/functions/get-d365lcsenvironmentrsatcertificate.ps1 +++ b/d365fo.tools/functions/get-d365lcsenvironmentrsatcertificate.ps1 @@ -86,10 +86,10 @@ .EXAMPLE PS C:\> Get-D365LcsEnvironmentRsatCertificate -ProjectId "123456789" -EnvironmentId "13cc7700-c13b-4ea3-81cd-2d26fa72ec5e" | Import-D365RsatSelfServiceCertificates - + This will download the active rsat certificate file for the environment from the LCS project. The resulting files are then imported into the certificate store on the local machine. - + .NOTES Author: Mötz Jensen (@Splaxi) #> diff --git a/d365fo.tools/tests/functions/Import-D365RsatSelfServiceCertificates.Tests.ps1 b/d365fo.tools/tests/functions/Import-D365RsatSelfServiceCertificates.Tests.ps1 index 19607689..c9aca0d7 100644 --- a/d365fo.tools/tests/functions/Import-D365RsatSelfServiceCertificates.Tests.ps1 +++ b/d365fo.tools/tests/functions/Import-D365RsatSelfServiceCertificates.Tests.ps1 @@ -21,7 +21,7 @@ $parameter.ParameterSets['__AllParameterSets'].IsMandatory | Should -Be $True $parameter.ParameterSets['__AllParameterSets'].Position | Should -Be 0 $parameter.ParameterSets['__AllParameterSets'].ValueFromPipeline | Should -Be $False - $parameter.ParameterSets['__AllParameterSets'].ValueFromPipelineByPropertyName | Should -Be $False + $parameter.ParameterSets['__AllParameterSets'].ValueFromPipelineByPropertyName | Should -Be $True $parameter.ParameterSets['__AllParameterSets'].ValueFromRemainingArguments | Should -Be $False } It 'Should have the expected parameter Password' { @@ -34,7 +34,7 @@ $parameter.ParameterSets['__AllParameterSets'].IsMandatory | Should -Be $True $parameter.ParameterSets['__AllParameterSets'].Position | Should -Be 1 $parameter.ParameterSets['__AllParameterSets'].ValueFromPipeline | Should -Be $False - $parameter.ParameterSets['__AllParameterSets'].ValueFromPipelineByPropertyName | Should -Be $False + $parameter.ParameterSets['__AllParameterSets'].ValueFromPipelineByPropertyName | Should -Be $True $parameter.ParameterSets['__AllParameterSets'].ValueFromRemainingArguments | Should -Be $False } } diff --git a/docs/Get-D365LcsEnvironmentRsatCertificate.md b/docs/Get-D365LcsEnvironmentRsatCertificate.md index c99ad286..2071d280 100644 --- a/docs/Get-D365LcsEnvironmentRsatCertificate.md +++ b/docs/Get-D365LcsEnvironmentRsatCertificate.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Get-D365LcsEnvironmentRsatCertificate ## SYNOPSIS -Get LCS environment meta data from within a project +Get LCS environment rsat certificate from within a project ## SYNTAX @@ -19,9 +19,7 @@ Get-D365LcsEnvironmentRsatCertificate [[-ProjectId] ] [[-BearerToken]