Mellanox WinOF VPI Documentation v5.50.52000
Linux Kernel Upstream Release Notes v6.5

PowerShell Configuration

PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language built on the .NET Framework. PowerShell provides full access to COM and WMI, enabling administrators to perform administrative tasks on both local and remote Windows systems as well as WS-Management and CIM enabling management of remote Linux systems and network devices.

Prior to working with it, PowerShell must be configured as follow:

  1. Set the Execution policy to “AllSigned”.

    Copy
    Copied!
                

    PS $ Set-ExecutionPolicy AllSigned Execution Policy Change The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose you to the security risks described in the about_Execution_Policies help topic at http://go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy? [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"): y

  2. Add Mellanox to the trusted publishers by selecting "[A] - Always run" as shown in the example below:

    Copy
    Copied!
                

    PS $ Get-MlnxPCIDeviceSriovSetting

    image2019-3-12_12-54-44.png

© Copyright 2023, NVIDIA. Last updated on May 23, 2023.