Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

VPN Client & Network Access Client 5.x
Results will update as you type.
  • Release Notes
  • Deployment
  • Getting Started
  • Operation and Monitoring
  • Maintenance
    • How to Update the Barracuda NAC/VPN Client for Windows
    • How to Update the Barracuda VPN Client for macOS
    • How to Update the Barracuda VPN Client for Linux
    • How to Uninstall the Barracuda NAC/VPN Client for Windows
    • How to Uninstall the Barracuda VPN Client for macOS
    • How to Uninstall the Barracuda VPN Client for Linux
    • Troubleshooting
    • NAC PowerShell for Windows

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    NAC PowerShell for Windows
    Published May 20, 2025

    NAC PowerShell for Windows

    Subscribe

    The Barracuda Network Access Client for Windows allows administrators and users to configure and control the VPN client via command-line interface.

    The following commands are available:

    • Add-AppCertificateAuthority – Offers the option to add a CA certificate to the app-internal store. Only a single certificate can be imported and all common formats as they can be used on Windows are supported (e.g., .PFX, .P12, .CER, .CRT,...).

    • Add-PolicyServer – Add a policy server.

    • Add-VPNProfile – Create a VPN profile. Enter description, context, address, and authentication details as prompted.

    • Clear-MasterPassword – Delete the master password.

    • Clear-PolicyServerDHCP – Clear the cache of the policy server if configured.

    • Connect-VPN – Initiate a connection using a configured VPN profile.

    • Disable-PersonalFirewall – Disable the Personal Firewall.

    • Disconnect-VPN – Terminate a VPN connection.

    • Enable-PersonalFirewall – Enable the Personal Firewall.

    • Export-NACAppConfiguration – Export the Network Access Client configuration. The Export-NACAppConfiguration command generates a .zip file that encapsulates the registry configuration of NAC. Its primary purpose is to facilitate the export of this configuration from one computer for subsequent import on others. Essentially, this process allows for the configuration of the application to be easily distributed across multiple devices.

    • Export-VPNProfile – Export a configured VPN profile.

    • Get-AppCertificateAuthority – Show CA certificates from the app-internal store.

    • Get-PolicyServer – Show the details of a policy server.

    • Get-VPNConnectionStatus – Show the status of a VPN connection.

    • Import-NACAppConfiguration – Import a Network Access Client configuration.

    • Import-VPNProfile – Import a VPN Profile.

    • Remove-AppCertificateAuthority – Remove a CA certificate from the app-internal store.

    • Remove-PolicyServer – Remove the policy server if configured.

    • Remove-VPNProfile – Delete a configured VPN profile.

    • Set-WindowsCredentials – Set Microsoft Windows credentials.

    • Start-HealthValidation – Initiate a health check using the Barracuda Health Agent.

    • Stop-NetworkAccessClient – Turn off the application.

    • Get-HealthAgentSettings – Display the settings of the Barracuda Health Agent, if configured.

    • Set-HealthAgentSettings – Update Barracuda Health Agent settings based on a given object that was retrieved via Get-HealthAgentSettings.

    • Get-MasterPasswordStatus – Show the status of the master password, if configured.

    • Set-MasterPassword – Set the master password.

    • Get-VPNProfile – Show the details of a configured VPN profile.

    • Set-VPNProfile – Update VPN profile settings based on a given object that was retrieved via Get-VPNProfile.

    • Get-VPNSettings – Display the VPN settings as configured.

    • Set-VPNSettings – Update Barracuda VPN settings based on a given object that was retrieved via Get-VPNSettings.

    For detailed syntax information of each command, type -? after the cmdlet (for example: C:\WINDOWS\system32> Connect-VPN -?).

    Examples: Enable Welcome Messages

    • Set-VPNProfile and Set-VPNSettings : These two are designed to work together with their Get counterparts.

    $a = Get-VPNSettings $a.ShowWelcomeMessage = True Set-VPNSettings $a

    To obtain a comprehensive overview of all parameters and their corresponding values, you can enter the following commands: Get-VPNSettings -? or Get-VPNProfile -?.


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 14, "requestCorrelationId": "0d07b590efaa44aa9cb63955fda6e7d8"}