private/Functions/Axis/Restart-Axis.ps1
Function Restart-Axis { [cmdletBinding()] Param( [Parameter()] [hashtable]$Object ) $CamCmd = @{ Arguments = @{ IP = $Object.IP Menu = 'system' SubMenu = 'power' Action = 'control' Parameters = @( "Type=Restart" ) } Credential = $Object.Credential } Invoke-AxisCommand @CamCmd } |