The script you referenced essentially automates the following steps:
You can download Windows 10 from Microsoft’s official website, install it, and use it indefinitely with minor customization restrictions (e.g., a watermark, no personalization). This is perfectly legal and safe. bit ly windowstxt 10 kms
You can use Bitly via the web interface, browser extensions, or the API. Steps below assume Windows 10/11 and Chrome or Edge. bit ly windowstxt 10 kms