Titel der Website abrufen und in das Sitzungsprotokoll von SMART Migration schreiben
Abschnitt betitelt „Titel der Website abrufen und in das Sitzungsprotokoll von SMART Migration schreiben“$FlowConnectionUrl@ = Get-FlowSPConnection -Name "[<ctest>]" -Property Url # Get the Url from the SharePoint Connection.$FlowAppId = Get-FlowSPConnection -Name "[<ctest>]" -Property AppId # Get the AppId from the SharePoint Connection.$FlowAppSecret = Get-FlowSPConnection -Name "[<ctest>]" -Property AppSecret # Get the AppSecret from the SharePoint Connection.Connect-PnPOnline -Url $FlowConnectionUrl -ClientId $FlowAppId -ClientSecret $FlowAppSecret # Connect to the SharePoint Site$web = Get-PnPWebAdd-FlowLogRow -LogType "Information" -Message $web.TitleAdd-FlowLogRow -LogType "Information" -Message "I'm taking a break :-)"bc. Add-FlowLogRow -LogType "Information" -Message "Going to sleep for 10 seconds..."Start-Sleep -Seconds 10Add-FlowLogRow -LogType "Information" -Message "OK .. move on.."Benutzereingabe abfragen
Abschnitt betitelt „Benutzereingabe abfragen“$Text = Read-Host "Type something:"Add-FlowLogRow -LogType "Information" -Message $Text