Set Node's Health State Powerhsell RRS feed

  • Question

  • Hi

    I am using HPC pack 2012. I am automating the configuration of the HPC pack. After provisioning Azure Batch nodes, the health state is set to Unapproved. 

    I could not find powershell commands to set the Health state, Set-Node nor Set-NodeState do not have the property Health State (not even NodeHealthState). How can I set the node's Health state?

    Thank you


    Monday, July 9, 2018 8:54 AM


  • Sorry never mind, 

    $batchpool = Add-HpcBatchPool -Template $nodetemplate -ComputeNodeNumber 1 -Size 'standard_e16_v3' -OsFamily Win8R2

    Start-HpcBatchPool -Name $batchpool[0].NetBiosName Set-HpcNodeState -Name $batchpool[0].NetBiosName -State "Online" -Confirm -Async



    • Marked as answer by Koushik984 Monday, July 9, 2018 9:01 AM
    Monday, July 9, 2018 9:01 AM