Current date Select a cell and press CTRL+;
Current time Select a cell and press CTRL+SHIFT+;
Current date and time Select a cell and press CTRL+; then SPACE then CTRL+SHIFT+;
ceturtdiena, 2014. gada 15. maijs
sestdiena, 2014. gada 26. aprīlis
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:
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
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
otrdiena, 2014. gada 18. februāris
Notepad++ search with regular expressions
Don't forget to select
Regular expression radio button in Search mode sectio.([\s]+)([\s]+) -search for mutiple spaces[ ]([a-zA-Z]) -search for any letter with space in front.
Get AD group members as text
To get active directory group's members as sext - put this in powershell
If you get error:
Almost any characters can be used in Distinguished Names. However, some must be escaped with the backslash escape character. Active Directory requires that the following characters be escaped:
The space character must be escaped only if it is the leading or trailing character in a component name, such as a Common Name. Embedded spaces should not be escaped.
dsquery group -name ("Group name here") |dsget group -members |dsget user -display >memberlist.txtIf you get error:
dsget failed:Directory object not found check user names for restricted symbols.Almost any characters can be used in Distinguished Names. However, some must be escaped with the backslash escape character. Active Directory requires that the following characters be escaped:
Comma
,
Backslash character
\
Pound sign (hash sign)
#
Plus sign
+
Less than symbol
<
Greater than symbol
>
Semicolon
;
Double quote (quotation mark)
"
Equal sign
=
Leading or trailing spaces
The space character must be escaped only if it is the leading or trailing character in a component name, such as a Common Name. Embedded spaces should not be escaped.
pirmdiena, 2014. gada 10. februāris
NTP serveru adreses
ntp.sigmanet.lv 92.240.65.179
ntp.cert.lv 91.240.246.1, 91.240.246.3
2.lv.pool.ntp.org 85.254.216.1
1.europe.pool.ntp.org 85.12.35.12
0.europe.pool.ntp.org 148.251.9.60
Abonēt:
Ziņas (Atom)