Get Site Title and write it to the SMART Migration Session Log
Section titled “Get Site Title and write it to the SMART Migration Session Log”$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.."Get user input
Section titled “Get user input”$Text = Read-Host "Type something:"Add-FlowLogRow -LogType "Information" -Message $Text