Lapas

otrdiena, 2014. gada 11. marts

Get Office 365 user list

To get active users list in excel or txt file at firs you need to install:
1. Windows Management Framework
2. Windows PowerShell 3.0
3. The Microsoft Online Services Sign-In Assistant
4. Windows Azure AD Module

Then run Windows Azure Active Directory Module for Windows PowerShell. Connect to Office 365 with cmdlet Connect-MsolService and enter the corresponding administrator credentials.
After that request active users with cmdlet:

PS C:\Windows\system32> Get-MsolUser | Where-Object { $_.isLicensed -eq "TRUE" } | Select-Object UserPrincipalName, DisplayName, Country, City, Department, UsageLocation | Out-GridView
 

Source: Microsoft Support

piektdiena, 2014. gada 7. marts

Get Autodesk Inventor and Autocad serial nubers from windows.

Inventor Serial numbers  
C:\ProgramData\Autodesk\AdLM\*_USRegInfo.html
HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\Inventor\RegistryVersionX.Y\System\License

 AutoCAD serial numbers 
List the value of the *_PKSER variable (enter as a command on the AutoCAD commandline)
Use command ABOUT to display product information window
List the Registry key SerialNumber in a Registry hive corresponding to your application - e.g.: HKLM\SOFTWARE\Autodesk\AutoCAD\R17.2\ACAD-7001:409