Hi @Ashwan ,
You can try to download the SQL Server module to a file in computer with internet access, and then copy it to the target server which have no internet access.
For more details, please refer to the following articles:
How can I install the SQL Server PowerShell module on an offline machine
INSTALLING POWERSHELL MODULE WITHOUT INTERNET ACCESS
Best Regards,
Amelia
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.