Mick's IT Blogs

Mick's IT Blogs

26 May 2013

Porting NMEA Data to the iPhone and iPad

Posted By: Mick Pletcher - 11:54 PM
The first thing that has to be done is to make sure you have a device that can transmit NMEA data across WiFi, such as the Verizon MiFi 4620L. Next, you need to make sure the GPS over WiFi is enabled and is set to port 10110. Once this is set on the GPS over WiFi device, you now need an application that is capable of reading the NMEA data. In the application, you will need to enable NMEA and then configure the host and port. The host will be the default gateway, which is most likely 192.168.1.1. The port will be 10110. 

15 May 2013

Initiate Hardware Inventory

Posted By: Mick Pletcher - 12:56 PM

Here is the scripting code in both powershell and VBScript to initiate a hardware inventory in both SMS and SCCM. The backend calls are the same in both SMS and SCCM, so both scripts will work in either app.

Powershell
 Function InitiateHardwareInventory{  
      $SCCMClient = [wmiclass] "\\localhost\root\ccm:SMS_Client"  
      $SCCMClient.TriggerSchedule("{00000000-0000-0000-0000-000000000001}")  
 }  


VBScript
 Sub InitiateHardwareInventory()  
      On Error Resume Next  
      DIM oCPAppletMgr  : Set oCPAppletMgr  = CreateObject("CPApplet.CPAppletMgr")  
      DIM oClientAction : Set oClientAction = Nothing  
      DIM oClientActions : Set oClientActions = oCPAppletMgr.GetClientActions()  
      For Each oClientAction In oClientActions  
           If oClientAction.Name = "Hardware Inventory Collection Cycle" Then  
                oClientAction.PerformAction  
           End If  
      Next  
 End Sub  

Copyright © 2013 Mick's IT Blogs™ is a registered trademark.