Community - SOTI MobiControl

Community - SOTI MobiControl

There's a new home for Articles. Find Articles on Our Product Support Page.

SOTI MobiControl Discussions


  • 0 votes 12 answers

    Bulk Device Rename

    Hi, We've just recently provisioned another large quantity of Android Enterprise devices into SOTI and our current preference is that the devices are named in the console with the companies asset ID. Normally we'd have to go through and manually use the scripting command to send the 'devrename' command with the new name to each device individually, however this is time consuming and very labour intensive to do for large quantities. Is there a way to send a bulk script to update these?  Currently these devices are enrolled with their serial number as their name, so the script would contain device serial and new name as a mapping. Does anyone know if this is possible? Cheers! 

    Android Scripting
    4 years ago
  • 0 votes 3 answers

    Device Renaming with PowerShell API

    I have been reading through these forums and finding a lot of help regarding API request. So far I'm able to request my API token via PS and use it for device management!   I'm fairly new to using API calls in PS and I can't seem to get around renaming a device.  I' almost certain the issue is with how I'm using the -Body portion of the PS code.  Here is what I have so far: #ALLOWS USER INPUT OF DEVICE NAME [void][Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic') $title = 'Device Rename'$msg = 'Enter New Device Name:'$Input = [Microsoft.VisualBasic.Interaction]::InputBox($msg, $title) $Header2 = @{}$Header2["Authorization"] = "Bearer " + $Token try{$response2 = Invoke-restmethod -ContentType "application/json" -Uri https://$MCFQDN/mobicontrol/api/devices/$DevID/actions -Method POST -Headers $Header2 -Body {\"Action\": \"Rename\",\"Name\" : \"$Input\"} }catch{$($_.Exception.Message)} As stated, I think the -Body section is where I'm failing, not sure how to convert the curl request to a body in PowerShell. Greatly appreciate any help!

    Windows
    5 years ago
  • 0 votes 1 answer

    when I enroll Dell Laptops I need to name the the device using its Asset tag (serial number) the Macros are not working.

    How can I make a rule or run a script to name on enrollment or rename after to it's Serial Number and or asset tag.  These are all Windows 10 devices. 

    Windows
    7 years ago

Top 3 Contributors of The Week

View All

Earn Contributor Badge

More info
  • Diamond
    Diamond New !

    Top-tier experts who are delivering outstanding content. Should have more than 7000 points.

  • Platinum

    Experts who are consistent with great content. Should have more than 1000 points

  • Gold

    Highly experienced members with valuable inputs. Should have more than 700 points

  • Silver

    Beginners taking the initiative. Should have more than 500 points