So you need to figure out what your Portal Id is? This parameter is required when migrating a standard data model website to an enhanced datamodel one.
On this step of the documentation Microsoft suggests you navigate to `/_services/about` of your portal and copy the id from there.
But since you have access to PowerShell I want to propose an alternative approach. A simple PowerShell script that can retrieve the portal id for you
param(
[string]$url
)
$browser = New-Object System.Net.WebClient;
$browser.Proxy.Credentials =[System.Net.CredentialCache]::DefaultNetworkCredentials;
$portalId = ([xml]$browser.DownloadString($url+'/_services/about')).html.body.div.div.h2.small.split(" ")[1]
return $portalId;The script also handles the issues that might rise in firewalled environments with a corporate proxy.

the title is a reference to the following game: Where's Waldo