-
Download the Script
- Click on "Code" and then "Download ZIP".
- Extract the ZIP file to your desired folder on your computer.
-
Allow Script Execution
- Open PowerShell as an administrator.
- Allow script execution using the following command:
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
-
Run the Script
- In PowerShell, navigate to the folder where the script is located.
- Run the script using the following command:
.\ps_auth.ps1
-
Completion
- After successful authentication, you can delete both the script and the ZIP file, if desired.
-
Baixe o Script
- Clique em "Code" e depois em "Download ZIP".
- Extraia o arquivo ZIP para a pasta desejada em seu computador.
-
Permita a Execução do Script
- Abra o PowerShell como administrador.
- Permita a execução do script com o comando:
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
-
Execute o Script
- No PowerShell, navegue até a pasta onde o script está localizado.
- Execute o script usando o comando:
.\ps_auth.ps1
-
Finalização
- Após a autenticação bem-sucedida, você pode excluir tanto o script quanto o arquivo ZIP, se desejar.