From e5f5bb1aba4e55a190069bd3d6bc92059a56c50e Mon Sep 17 00:00:00 2001 From: Mohammad Saif Shaikh Date: Fri, 17 Nov 2023 17:18:53 -0500 Subject: [PATCH] Update Import-Certificate.md `--FilePath` option This commit adds important information on the usage and behavior of the `Import-Certificate` Powershell cmdlet, specifically around the importing of multiple certificates at once. --- docset/winserver2012-ps/pki/Import-Certificate.md | 2 ++ docset/winserver2012r2-ps/pki/Import-Certificate.md | 2 ++ docset/winserver2016-ps/pki/Import-Certificate.md | 2 ++ docset/winserver2019-ps/pki/Import-Certificate.md | 2 ++ docset/winserver2022-ps/pki/Import-Certificate.md | 3 ++- 5 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docset/winserver2012-ps/pki/Import-Certificate.md b/docset/winserver2012-ps/pki/Import-Certificate.md index 33606d434b..1d80abf1ba 100644 --- a/docset/winserver2012-ps/pki/Import-Certificate.md +++ b/docset/winserver2012-ps/pki/Import-Certificate.md @@ -80,6 +80,8 @@ Accept wildcard characters: False Specifies the path to a certificate file to be imported. Acceptable formats include .sst, .p7b, and .cert files. If the file contains multiple certificates, then each certificate will be imported to the destination store. +The file must be in .sst format to import multiple certificates; +otherwise, only the first certificate in the file will be imported. ```yaml Type: String diff --git a/docset/winserver2012r2-ps/pki/Import-Certificate.md b/docset/winserver2012r2-ps/pki/Import-Certificate.md index d685995200..3cf7eb42d6 100644 --- a/docset/winserver2012r2-ps/pki/Import-Certificate.md +++ b/docset/winserver2012r2-ps/pki/Import-Certificate.md @@ -82,6 +82,8 @@ Accept wildcard characters: False Specifies the path to a certificate file to be imported. Acceptable formats include .sst, .p7b, and .cert files. If the file contains multiple certificates, then each certificate will be imported to the destination store. +The file must be in .sst format to import multiple certificates; +otherwise, only the first certificate in the file will be imported. ```yaml Type: String diff --git a/docset/winserver2016-ps/pki/Import-Certificate.md b/docset/winserver2016-ps/pki/Import-Certificate.md index ea78965e77..7c558b222c 100644 --- a/docset/winserver2016-ps/pki/Import-Certificate.md +++ b/docset/winserver2016-ps/pki/Import-Certificate.md @@ -85,6 +85,8 @@ Accept wildcard characters: False Specifies the path to a certificate file to be imported. Acceptable formats include .sst, .p7b, and .cert files. If the file contains multiple certificates, then each certificate will be imported to the destination store. +The file must be in .sst format to import multiple certificates; +otherwise, only the first certificate in the file will be imported. ```yaml Type: String diff --git a/docset/winserver2019-ps/pki/Import-Certificate.md b/docset/winserver2019-ps/pki/Import-Certificate.md index ed4bd96406..2e62ed1376 100644 --- a/docset/winserver2019-ps/pki/Import-Certificate.md +++ b/docset/winserver2019-ps/pki/Import-Certificate.md @@ -85,6 +85,8 @@ Accept wildcard characters: False Specifies the path to a certificate file to be imported. Acceptable formats include .sst, .p7b, and .cert files. If the file contains multiple certificates, then each certificate will be imported to the destination store. +The file must be in .sst format to import multiple certificates; +otherwise, only the first certificate in the file will be imported. ```yaml Type: String diff --git a/docset/winserver2022-ps/pki/Import-Certificate.md b/docset/winserver2022-ps/pki/Import-Certificate.md index 60081c85d3..4df868488f 100644 --- a/docset/winserver2022-ps/pki/Import-Certificate.md +++ b/docset/winserver2022-ps/pki/Import-Certificate.md @@ -100,7 +100,8 @@ Accept wildcard characters: False Specifies the path to a certificate file to be imported. Acceptable formats include `.sst`, `.p7b`, and `.cert` files. If the file contains multiple certificates, then each certificate will be -imported to the destination store. +imported to the destination store. The file must be in `.sst` format to import multiple +certificates; otherwise, only the first certificate in the file will be imported. ```yaml Type: System.String