Hello anonymous user,
This is a By Design security. Users can't run Powershell scripts if there is no communication with the DC, mainly for security to avoid a suplantation of DC.
In my case I was able to workaround, which is to create a batch launcher (BAT will run with no DC connection) store it in the same folder as your PS1 and change the Logon Script GPO to load the BAT launcher instead of the PS1
@Echo off
set ScriptDirectory=%~dp0
PowerShell -ExecutionPolicy Unrestricted -Command "&'%ScriptDirectory%\script.ps1' -Verbose"
I hope this may help with your issue,
Best regards,