none
Adding unapproved previously added node to hpc by powershell RRS feed

  • Question

  • hey so we have some scripts that remove nodes when they are having issues, but when they come back online i am looking to have a script re-add them into hpc from an unapproved state.
    Thursday, February 7, 2019 7:22 PM

All replies

  • Hi kenjar0497,

    Please check this script,

    Get-HpcNode -HealthState Unapproved -State Unknown | Assign-HpcNodeTemplate -Name 'Default ComputeNode Template' -Confirm:$false-PassThru | Set-HpcNodeState -State Online

    Regards,

    Yutong Sun

    Tuesday, February 12, 2019 3:58 AM
    Moderator