diff --git a/documentation/Disconnect-PnPOnline.md b/documentation/Disconnect-PnPOnline.md index 7c7602bd9..fdc9dd40a 100644 --- a/documentation/Disconnect-PnPOnline.md +++ b/documentation/Disconnect-PnPOnline.md @@ -20,7 +20,7 @@ Disconnect-PnPOnline ## DESCRIPTION -Disconnects the current connection and clears its token cache. It will require you to build up a new connection again using [Connect-PnPOnline](Connect-PnPOnline.html) in order to use any of the PnP PowerShell cmdlets. You will have to reauthenticate. If instead you simply want to connect to another site collection within the same tenant using the same credentials you used previously, do not use this cmdlet but instead use `Connect-PnPOnline -Url https://tenant.sharepoint.com/sites/othersite` instead without disconnecting. It will try to reuse the existing authentication method and cached credentials. +Disconnects the current connection and clears its token cache. It will require you to build up a new connection again using [Connect-PnPOnline](Connect-PnPOnline.md) in order to use any of the PnP PowerShell cmdlets. You will have to reauthenticate. If instead you simply want to connect to another site collection within the same tenant using the same credentials you used previously, do not use this cmdlet but instead use `Connect-PnPOnline -Url https://tenant.sharepoint.com/sites/othersite` instead without disconnecting. It will try to reuse the existing authentication method and cached credentials. Note that this cmdlet does not support passing in a specific connection to disconnect. If you wish to dispose a specific connection you have set up in a variable using `$variable = Connect-PnPOnline -ReturnConnection`, just dispose that variable using `$variable = $null` and it will be cleared from memory. diff --git a/pages/articles/azureautomationrunbook.md b/pages/articles/azureautomationrunbook.md index d8d1322d4..b2270283e 100644 --- a/pages/articles/azureautomationrunbook.md +++ b/pages/articles/azureautomationrunbook.md @@ -90,8 +90,6 @@ To add PnP PowerShell to the Azure Automation Account, follow these steps: Click on **Import** to start the download and importing process. - ![Start importing the PnP PowerShell module](../images/azureautomation/automationaddmodulepnpposhcustombuildimport.png) - It will take up to 10 minutes for the import to complete. You can check the import status by changing the **Module type** filter to **Custom**. ![Check the import status](../images/azureautomation/automationaddmodulepnpposhcustombuildstatus.png) diff --git a/pages/articles/telemetry.md b/pages/articles/telemetry.md index 0fe2f4739..67a5850c0 100644 --- a/pages/articles/telemetry.md +++ b/pages/articles/telemetry.md @@ -2,13 +2,13 @@ By default PnP PowerShell will report its usage anonymously to the PnP team. We collection information about the **version of PnP PowerShell**, the **operation system version** and the **cmdlet** executed. Notice that we will *not* include parameters used and we will *not* include any values of parameters. We will also *not* be able to trace the execution back to the specific tenant it ran on, the organization it was used for or the person it was run by. Having telemtry in place allows us to get insight in the usage of cmdlets and thereby prioritize work towards the most popular cmdlets. -To query if in a connected PnP PowerShell session the telemetry is enabled, use [Get-PnPPowerShellTelemetryEnabled](../cmdlets/Get-PnPPowerShellTelemetryEnabled.html). +To query if in a connected PnP PowerShell session the telemetry is enabled, use [Get-PnPPowerShellTelemetryEnabled](../cmdlets/Get-PnPPowerShellTelemetryEnabled.md). If you wish to control telemetry to be sent, you can use one of the below options. ## By using PnP PowerShell -You can disable telemetry to be sent by using [Disable-PnPPowerShellTelemetry](../cmdlets/Disable-PnPPowerShellTelemetry.html). -You can enable telemetry to be sent by using [Enable-PnPPowerShellTelemetry](../cmdlets/Enable-PnPPowerShellTelemetry.html). +You can disable telemetry to be sent by using [Disable-PnPPowerShellTelemetry](../cmdlets/Disable-PnPPowerShellTelemetry.md). +You can enable telemetry to be sent by using [Enable-PnPPowerShellTelemetry](../cmdlets/Enable-PnPPowerShellTelemetry.md). ## By setting an environment variable To disable telemetry, set the `PNPPOWERSHELL_DISABLETELEMETRY` environment variable to `true`, i.e. by using `$env:PNPPOWERSHELL_DISABLETELEMETRY=$true`. Remove the entry again or set it to `false` to enable telemetry to be sent again. diff --git a/pages/articles/updatenotifications.md b/pages/articles/updatenotifications.md index 075ee2c82..239f1f0b7 100644 --- a/pages/articles/updatenotifications.md +++ b/pages/articles/updatenotifications.md @@ -9,8 +9,6 @@ If you have a script and want to turn off the update check, simply set the follo $env:PNPPOWERSHELL_UPDATECHECK="false" ``` -See [Configure PnP PowerShell](configuration.md) for more information on the environment variables you can set. - ## When do you receive an update notification If the major version of your current version is lower than the currently available major version. diff --git a/powershell b/powershell new file mode 160000 index 000000000..a7a08dd3c --- /dev/null +++ b/powershell @@ -0,0 +1 @@ +Subproject commit a7a08dd3c20b05c473db109251fbc8b5380a164d