Skip to content
Sam360 Logo Sam360 Logo Sam360 Logo
  • Support
    • Documentation
    • Submit Ticket
  • Contact
  • Support
    • Documentation
    • Submit Ticket
  • Contact

Introduction

  • Overview
  • Collecting Inventory
  • Software Metering
  • What Data Is Collected?
  • Data Security
  • Quick Start Guide (Software Baseline Clients)

Portal

Introduction
  • Grid – Quick Filters
  • Notes – Markdown Guide
  • Grid – Introduction
Configuration
  • Forgot Your Password
  • Reset User Password
  • Add Portal User
  • Grant Portal Access To Existing User
  • Manage Client Permissions
Sample Reports
  • CyberSecurity Excel Overview
Importing/Exporting Data
  • Import Inventory And License Data
  • Import Device Data (CSV file)
  • Import Software Inventory Data (CSV file)
  • Import VMware Data
  • Import SCCM Data
  • Import Hyper-V Data
  • Import Office 365 Data
  • Import Sam360 Inventory Data (s3tools)
  • Import License Data
  • Exporting To Microsoft Universal Inventory

Data Collection

Management Point
  • Sam360 Management Point Introduction
  • Install Management Point
  • Management Point Service Account Requirements
  • How the Remote Scan works
  • Start Management Point Configuration Tool
  • 3rd Party & Cloud Integration
    • VMware Integration
    • XenServer Integration
    • Microsoft 365 Integration
    • Install/Update Required PowerShell Modules
    Technical Notes
    • Management Point Footprint
    • Improve Remote Scan Coverage
    • Configure Windows Firewall with Group Policy
    • Disable Communication With Sam360 Servers
    • Inspecting Inventory Data
    • Management Point Change Log
    • Update Management Point Credentials
Agent
  • Sam360 Agent Introduction
  • Deploy Agent Manually
  • Deploy Agent with Group Policy
  • Deploy Agent Using Management Point
  • Enable logging
  • Locate Sam360 Discovery Agent Log Files
  • Agent and Management Point Proxy
Web Scan
  • Sam360 Web Scan Introduction
  • Upload Inventory Data Files To Sam360
  • Gather Inventory From Offline Networks
  • Gather Inventory From An Offline Computer
  • Export List Of Devices From Active Directory

Data Model

  • Overview
Hardware
  • ActiveSync Device
  • Device
  • Terminal Device
  • Wireless Network
  • Network Card
  • Logical Drive
  • Physical Drive
Licensing
  • Agreement
  • Contact
  • License Position Record
  • License
Software
  • Application File Instance
  • Application File
  • Product
  • Product Installation
  • SQL Server Instance
  • Vendor
Settings
  • Rule
  • Client File
  • Entity History Event
  • Management Point
  • Management Point Task
  • Product Name Modifier
  • Report
  • Tenant
  • Report Task
Usage
  • Software Usage Record
  • Document
  • Hourly Software Usage Record
  • Netstat Connection
  • Performance Snapshot
  • IP Address
Configuration
  • Exchange Server Instance
  • Group
  • Web Application
  • OEM Warranty
  • Security Info Product
  • Site Collection
  • Site
  • SQL Server Database
  • SQL Server Service
  • User Permission
  • Web Site
  • Windows Domain
  • Windows Service
  • Windows Update
  • Device Certificate
  • Device VPN
  • Security Product Info
  • IIS Web Application
Users
  • User
Cloud
  • Azure Tenant
  • Azure Sign In Audit Log
  • Azure Application
  • Azure Sign In Auth Method
  • Home
  • Support Documentation
  • Portal
  • Importing/Exporting Data
  • Exporting To Microsoft Universal Inventory

Microsoft has developed a Universal Inventory standard to help partners deliver standardised SAM services ensuring data quality, privacy and security. Microsoft has partnered with SAM tool providers to facilitate seamless and safe syncing of data from clients’ existing SAM tools to a client’s local Microsoft Universal Inventory database.

Sam360’s syncronisation tool is a PowerShell script that queries inventory data from a client’s Sam360 cloud tenant (using the Sam360 Web API) and copies it to a client’s local Universal Inventory database. The following data items are copied as part of the process.

Type Details
Hardware Devices & ActiveSync Devices. CPU, Memory, Network Adapters, Physical & Logical Drives
Software All Software Titles, Services, Browsers
Users General Details, Logon Activity
Exchange Server Servers & Mailboxes
Database Server Servers & Databases
Virtualisation VMs, Hosts, Farms, Migration Events
Configuration Groups & Members
Office 365 Organisations, Subscriptions, Domains, Service Plans, Users, Assigned Plans

 

Step 1 – Download Sam360 Universal Inventory Integration Script

The Sam360 Universal Inventory integration PowerShell script is part of Sam360’s open source SAM Gold Toolkit. The latest version can be viewed on Github here and downloaded from here. Make sure to save the script with the correct file name extension ‘.ps1’ – Github can suggest a ‘.txt’ extension by default.

Step 2 – Run the script in PowerShell

Open a PowerShell window and execute the script. It may be necessary to temporarily change the script execution policy to allow a downloaded script to run. The script will prompt the user for details of the Universal Inventory database and Sam360 log on details.

Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

 

PS C:\Users\sarah.morton> cd downloads

PS C:\Users\sarah.morton\downloads> .\Sam360UISync.ps1

 

   _____         __  __    _____       _     _   _______          _ _    _ _  

  / ____|  /\   |  \/  |  / ____|     | |   | | |__   __|        | | |  (_) | 

 | (___   /  \  | \  / | | |  __  ___ | | __| |    | | ___   ___ | | | ___| |_

  \___ \ / /\ \ | |\/| | | | |_ |/ _ \| |/ _` |    | |/ _ \ / _ \| | |/ / | __|

  ____) / ____ \| |  | | | |__| | (_) | | (_| |    | | (_) | (_) | |   <| | |_

 |_____/_/    \_\_|  |_|  \_____|\___/|_|\__,_|    |_|\___/ \___/|_|_|\_\_|\__|

 

 Sam360UISync.ps1

 

Computer Name:        D1010042

User Name:            sarah.morton@SAM360.LOCAL

Windows Version:      Microsoft Windows 10 Enterprise(10.0.17134)

PowerShell Host:      5

PowerShell Version:   5.1.17134.112

PowerShell Word size: 64 bit

CLR Version:          4.0.30319.42000

Elevated:             False

Current Date Time:    2018-07-06 12:25:22

Script Path:          C:\Users\Sarah.Morton\Downloads\Sam360UISync.ps1

API User Name:       

API Server:           https://api.sam360.com

 

Universal Inventory Database Details Required

Server Name (Default [localhost\SQLEXPRESS]):

Database Name (Default [UI_DB1]): UI_SYNCTEST_10

 

Sam360 Credentials Required

Username: sarah.morton@sam360.com

Password: *******************

 

12:58:01.95 – Authenticating to https://api.sam360.com

12:58:02.11 – Retrieving organisation details

If your Sam360 user account has access to more than 1 client’s data, you will be prompted to choose which client’s data to download.

12:58:02.11 – Retrieving organisation details

 

Index OrganisationName                   OrganisationDeviceCount

—– —————-                   ———————–

    1 Contoso Ltd                        2306                  

    2 Fabrikam, Inc                      18430                     

    3 Northwind Traders                  482                     

 

3 organisations available. Select the required organisation

Index (Default [1]): 1

 

Organisation ‘Contoso Ltd’ selected

12:58:06.27 – Querying Device details from Sam360

12:58:12.60 – Saving Device details to database [2306 Records]

12:58:23.49 – Querying User details from Sam360

12:58:24.73 – Saving User details to database [1495 Records]

12:58:28.02 – Querying Software Installation details from Sam360

12:58:28.28 – Saving Software Installation details to database [333 Records]

12:58:28.61 – Querying CPU details from Sam360

12:58:29.49 – Saving CPU details to database [328 Records]

12:58:29.80 – Querying Database Server details from Sam360

12:58:30.23 – Saving Database Server details to database [106 Records]

12:58:30.52 – Querying VM details from Sam360

12:58:30.66 – Saving VM details to database [129 Records]

12:58:30.83 – Querying VM Host details from Sam360

12:58:31.08 – Saving VM Host details to database [8 Records]

12:58:31.11 – Querying Mail Server details from Sam360

12:58:31.18 – Saving Mail Server details to database [0 Records]

12:58:31.19 – Querying Active Sync Device details from Sam360

12:58:31.24 – Saving Active Sync Device details to database [0 Records]

12:58:31.26 – Querying Service details from Sam360

12:58:36.15 – Saving Service details to database [15092 Records]

12:58:51.39 – Querying Web Browser details from Sam360

12:58:51.53 – Saving Web Browser details to database [137 Records]

12:58:51.60 – Querying Group details from Sam360

12:58:51.73 – Saving Group details to database [0 Records]

12:58:51.76 – Querying VM Events details from Sam360

12:58:51.80 – Saving VM Events details to database [0 Records]

12:58:51.81 – Querying Device Logons details from Sam360

12:58:54.10 – Saving Device Logons details to database [117 Records]

Downloading and saving the data can take a few minutes depending on how large the client organisation is. It’s also possible to specify UI database and Sam360 logon details as command line parameters to the script.

Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

 

PS C:\Users\sarah.morton> cd downloads

PS C:\Users\sarah.morton\downloads> .\Sam360UISync.ps1 -UIDatabaseServerName “localhost\SQLEXPRESS” -UIDatabaseName “UI_SYNCTEST_10” -UserName “sarah.morton@sam360.com”

 

The data has now been imported in to the selected Universal Inventory database. It can be viewed inside the Universal Inventory application.

Rate This Article :
Share This Article :
  • Facebook
  • Twitter
  • LinkedIn
  • Pinterest
Updated on March 18, 2020

Leave A Comment Cancel reply

Partner First

Enabling data driven IT projects
  • Download

Get Support

    support@sam360.com
    Mon-Fri: 09:00 – 18:00 UTC
  • +353 1 566 6390‬

Find Us

NCI Research Centre, IFSC Dublin 1, Ireland
  • Check maps
© Copyright 2012 - | Sam360 | All Rights Reserved
TwitterLinkedInEmail