Skip to content

Commit d34707e

Browse files
committed
Update bash fenced code blocs to console
- references SharePoint#5926
1 parent eb0eb1f commit d34707e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/solution-guidance/modern-experience-customizations-provisioning-sites.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Alternatively, the [Office 365 CLI](https://pnp.github.io/office365-cli/) can be
140140

141141
The following bash script will create a "modern" team site and then return the actual SharePoint site URL for further manipulation. Once you have access to the URL of the created site, you can use it to automate other operations on the created site.
142142

143-
```bash
143+
```console
144144
#!/usr/bin/env bash
145145
# Connect to SharePoint Online
146146
# This command will prompt a sign-in confirmation message to authenticate
@@ -240,7 +240,7 @@ New-PnPTenantSite -Url $_url -Description $_title -Title $_title -Template STS#3
240240
Alternatively, the [Office 365 CLI](https://pnp.github.io/office365-cli/cmd/graph/o365group/o365group-add/?utm_source=msft_docs&utm_medium=page&utm_campaign=Provisioning+modern+team+sites+programmatically) can be used to create a Microsoft 365 group, which will let you easily authenticate with the Microsoft Graph and then create the new group.
241241
The example below shows how it can be done using the [Office 365 CLI immersive mode](https://pnp.github.io/office365-cli/user-guide/using-cli/#start-the-cli-in-the-immersive-mode?utm_source=msft_docs&utm_medium=page&utm_campaign=Provisioning+modern+team+sites+programmatically).
242242

243-
```bash
243+
```console
244244
# Use the Office 365 CLI immersive mode by typing o365 in the terminal
245245
# Connect to Microsoft Graph using the Office 365 CLI
246246
# This command will prompt a sign-in confirmation message to authenticate
@@ -330,7 +330,7 @@ $web.Title
330330

331331
Alternatively, the [Office 365 CLI](https://pnp.github.io/office365-cli/cmd/spo/site/site-add/?utm_source=msft_docs&utm_medium=page&utm_campaign=Provisioning+modern+team+sites+programmatically) can be used to create "modern" Communication site. The following bash script will create the site and then return the actual SharePoint site URL for further manipulation. Once you have access to the URL you can use it to automate other operations on the created site.
332332

333-
```bash
333+
```console
334334
#!/usr/bin/env bash
335335
# Connect to SharePoint Online
336336
# This command will prompt a sign-in confirmation message to authenticate

0 commit comments

Comments
 (0)