You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve docs for Add-PnPPage and add a sample for Connect-PnPOnline (#4485)
* Improve documentation
Clarifies how the commandlet works, removes one extra PagePromoteTyåpe value, and improves consistency of the documentation file.
* Improve documentation
Fix numbering of samples and add a new one on how to use Credential Manager for credentials
---------
Co-authored-by: Gautam Sheth <gautamdsheth@outlook.com>
Creates a new page. The page will be located inside the Site Pages library of the site currently connected to.
26
+
Creates a new page. The page will be located inside the Site Pages library of the site currently connected to. If the library does not exist yet, tries to ensure it is created.
27
27
28
28
## EXAMPLES
29
29
@@ -32,21 +32,21 @@ Creates a new page. The page will be located inside the Site Pages library of th
32
32
Add-PnPPage -Name "NewPage"
33
33
```
34
34
35
-
Creates a new page named 'NewPage'
35
+
Creates a new page named 'NewPage'. The resulting file will accordingly be named 'NewPage.aspx'. If a file with that name already exists, executing the commandlet will fail.
36
36
37
37
### EXAMPLE 2
38
38
```powershell
39
39
Add-PnPPage -Name "NewPage" -Title "Welcome to my page"
40
40
```
41
41
42
-
Creates a new page NewPage.aspx with the title as provided
42
+
Creates a new page NewPage.aspx with the title as provided.
@@ -294,6 +294,15 @@ See [Security App-only EntraId guidance](https://learn.microsoft.com/sharepoint/
294
294
295
295
See [X509 key storage flags](https://learn.microsoft.com/dotnet/api/system.security.cryptography.x509certificates.x509keystorageflags) for information on how to configure key storage when creating the certificate.
Connect to SharePoint using Credentials (username and password) from Credential Manager (Windows) or Keychain (Mac) with the specified name to use to authenticate.
303
+
304
+
On Windows, this entry needs to be under "Generic Credentials".
0 commit comments