Tag:information

  • Windows Server 2016 – command line bulk export ad user list information

    Time:2019-11-14

    This chapter brings you how to export domain user list information through PowerShell or ldifde command line, which is convenient for you to use in daily operation and maintenance work. A list of all user information under the staff directory appears in PowerShell mode: Get-ADUser -Filter * -Properties * -SearchBase “DC=staff,DC=azureyun,DC=com” |Select-Object name,SamAccountName,Givenname,surname,Displayname,title,mobile,CanonicalName,Created,Department,DistinguishedName,EmailAddress,homeMDB,mail,mailNickname,MemberOf,msExchCoManagedObjectsBL,msExchHomeServerName,PasswordLastSet,PrimaryGroup,proxyAddresses,UserPrincipalName,whenCreated,whenChanged,MobilePhone,telephoneNumber,employeeNumber,postalCode,company |Export-Csv C:\AllADUser20190226.csv […]

  • [transfer] 2018 Apple Developer account application process

    Time:2019-11-10

    Original: https://www.jianshu.com/p/b5a484cecd7c This article mainly describes the application process of Apple’s developer account in 2018. Compared with 2017, the application process has some changes. I hope you can avoid some detours through this article and successfully complete the application of developer account. Some problems that may occur in the new process and changes of some […]

  • Windows Server 2016-ps filter export user mailbox property contains a field list

    Time:2019-11-8

    In the production environment, we often encounter the situation of ending with multiple mailbox aliases. How to quickly export the user list information of the current domain user mailbox ending with a certain field or suffix becomes particularly important. In this example, how to quickly filter out the user list of the current mailbox information […]

  • Using posture of MySQL system table

    Time:2019-10-30

    Mysql database file reading and writing Authority requirements: Have read-write permission and the target file is readable The target content has a full path and the directory is accessible Whether the target content has file read / write permission Check whether there is file read-write permission show variables like ‘%secure%’; secure_file_privFunction of absolute file reading […]

  • Enable preview in Visual Studio 2019

    Time:2019-10-26

    The preview function page in Visual Studio 2019 menu [tools] > options] > environment is completely new!We introduced the preview features page so that you can easily find them and control their activation.The new layout provides more information and feedback opportunities on the functionality.Although these features are under development, you can disable them if you […]

  • Attribute nginx to SYSTEMd management

    Time:2019-10-26

    [[email protected] ~]# vim /usr/lib/systemd/system/nginx.service [Unit] Description = the nginx HTTP server daemon ා must be guarded or an error will be reported #Description information After=network.target remote-fs.target nss-lookup.target #Specify other services needed before starting nginx, such as network.target, etc. [Service] Type=forking #Type is the type of service, the service that only starts one main process is […]

  • The usage of Oracle pipeline function (split one line into multiple lines)

    Time:2019-10-26

    Oracle pipeline function is a kind of special function. The return value type of Oracle pipeline function must be set. If you need some information during the execution of the real-time output function of the client, you can use the pipeline function after Oracle 9i. The keyword pipeline indicates that this is an Oracle pipeline […]

  • [Linux] shell script programming – count the device number in the log file to send the notification email

    Time:2019-10-25

    1. List of log files For example, / data1 / logs / 2019 / 08 / 15/ 10.1.1.1.log.gz 10.1.1.2.log.gz   2. Count a keyword shell script in the log Zcat *. Gz|grep keyword|grep – op “deviceid = [^] +” |uniq|sort – U > / TMP / 20190815.log Date formats the date and other information, and […]

  • Easy to use performance testing tool – Glances

    Time:2019-10-24

    I often use htop tool to perform performance test on the host. But it can only manage. And briefly display process and CPU and memory usage information; Glances are better performance testing tools. Htop can also display disk IO net and other information. There is also a web UI and ipc schema. This tool is […]

  • HttpListener implements small web servers

    Time:2019-10-23

    HttpListener implements web servers For small servers, simple, convenient, no deployment required. The total amount of code is no more than 50 lines. static void Main(string[] args) { // create HTTP listener using (var httpListener = new HttpListener()) { // listening path httpListener.Prefixes.Add(“http://localhost:8820/”); // set anonymous access httpListener.AuthenticationSchemes = AuthenticationSchemes.Anonymous; // start listening httpListener.Start(); Console.WriteLine(” […]

  • Use and monitoring of SSL certificate self signature

    Time:2019-10-20

    Preface Certificate introduction More and more attention has been paid to information security. HTTPS has become quite popular. To make our HTTP interface support HTTPS, only one SSL certificate is needed. Full name public key certificate (PKC), which holds the basic information of the owner, the expiration time of the certificate, the owner’s public key, […]