Blog

Here I document some issues for searching of which I spent more then 15 minutes

  • Create group of users in PowerShell

    Hello everybody,

    today I want to share just simple script, with which you can create group of users according to some rules:

    $pw = "strangePassword" | ConvertTo-SecureString -AsPlainText -Force

    for($i=1

    $i -le 320

         $i++){

           $userName = "repeatingUserName" + $i

       New-ADUser -Name $userName -GivenName $userName -AccountPassword $pw -ChangePasswordAtLogon $false -PasswordNeverExpires $true -Enabled $true

               #Remove-ADUser -Identity $userName -Confirm:$false

    }

    more

  • Purpose of some services in Dynamics CRM

    Hello everybody,

    today I want to describe web services of Dynamics CRM. If you have access to some instance of Dynamics CRM. 

    If you follow the way Settings -> Customizations, and then choose development resources, you'll discover for yourself interesting set of urls, similar to the following:

    In this short note I want to describe few of them.

    So, let's start with discovery service, which has number 4 at our screenshot.

    Discovery service provides following tools:

    Information about deployment. If you have multiple servers with different roles, and you need to automate in some way getting information into your tools, then discovery service is exactly what you need.

    Connect … more

  • PowerShell formatting strings

    Hello everybody,

    today I want to write few words about formatting strings in PowerShell.

    Consider the following example:

    "Today is $(Get-Date). Enjoy your life"

    Output will be the following:

    Today is 08/23/2016 16:04:18. Enjoy your life

    So, if you want to call some PowerShell function, you can just put it into brackets, put $ in front of it and get the result.

    Conisder another example:

    "You own to me $(44 + 44* 0.15) dollars"

    It will give following output:

    You own to me 50.6 dollars

    Very cool stuf in PowerShell is about using formatting with templating and key -f.

    Take a look:

    $apples = 5

    $pomegranade = 22

    cls

    "I have {0} apples and {1} … more

  • Statistics of normal distribution

    Hello everybody,

    today I want to write few words about standards of normal distribution in statistics. 

    Take a look at the picture:

    This picture says the following. If you have normal distribution, than 68% of data fall in range    - σ

    more

  • Federation security

    Hello everybody,

    Today I want to write few words about federation security.

    So, imaging following situation. You work in one company, which partners with one or two others. And Both of them provide some kind of IT services.

    One of the ways of dealing with such situation is make for each IT service login name and password for each of IT services. Of course it's not very convenient. It's not convenient for users, which need to have few accounts, it's not convenient for administrators, which need ot manage user names and passwords. Etc. How to deal with it? One of the solutions is identity federation. 

    How it works. One of the ways of solving it is making IT services to work with accepting … more

  • What is token in Claims-Based Identity

    Hello everybody,

    today I want to write few words about what is token.

    If to put very simple statement, token is a set of bytes that express information about some subject ( as usually it is user ).

    This information consists of one or more claims. Each claim contains information about subject. 

    General structure of token is like this:

    And now few words about purpose. If user want to use some system, he need to get from some authority security token or set of bytes. After getting token user uses it for getting access to system. 

    System by itself looks at claims and at signature, and depending from claims either gives permission for some activity or not. Signature in token indicates … more

  • Unions by example

    Hello everybody,

    today  I want to share a short notice on unions calculations in statistics by example of the following puzzle:

    You are picking flowers from a garden. The garden contains flowers of varying colors, including flowers that are completely blue, flowers that are completely pink, and also flowers that are both colours. The probability of picking a flower that is at least partly blue is 0.4 and the probability of picking a flower that is at least partly pink is 0.2.

    Question, how to calculate probability of picking flower that is blue, pink or both.

    The answer is simple. First of all it's good to remember formula:

    P(AorB)=P(A)+P(B)−P(AandB)

    Now let's mark B as blue fragmnet, … more

  • Azure basic puzzle words

    Hello everybody,

    today I want to put some light on puzzlewords related to Windows Azure.

    Quite often many people are puzzled by statements SaaS, PaaS, IaaS. If you need quickly understand what those words mean, 

    just look at the icture.

    If to decipher them with examples, then 

    SaaS example

    Office 365, Bing, gmail.

    PaaS example

    Something, that you can borrow for your life simplification. For example Access control service, service bus, HD Insight, Windows Azure Active directory, Azure SQL server database.

    IaaS example

    Renting one or more virtual servers and probably their network equipment ( also virtual ) in order to host something like Sql Server, Active directory, Sharepoint … more

  • Azure Datacenter architecture

    Hello everybody,

    today I want to write few words about Azure Infrastructure. 

    Big picture

    You can use Azure services in ~140 countries. And Microsoft does it's best to enalrge geography of their earnings, but if you are citizen of some countries you may be missing of usage of Azure.

    For now we can consider as Azure something with Microsoft products. It can be: XBox, Office 365, Bing, hotmail, etc ( full list of services consists of ~200 services. ). 

    The best idea about usage of Azure is to have something, which is closest to your target auditorium. 

    If your target auditorium is located in your country, you may need to go to Azure Spped Test web site. Below goes screenshot:

    As … more

  • Levels of measurements in statistics

    Hello everybody.

    Today I want to drop a short summary of different levels of measurrements in statistics.

    It's represented in following table:

     

     

    Difference

    Order

    Similar intervals

    Meaningful zero point

    Categorical

    Nominal

    +

    -

    -

    -

    Ordinal

    +

    +

    -

    -

    Quantitative

    Interval

    +

    +

    +

    -

    Ratio

    +

    +

    +

    +

     

    more

General information

Greetings to everybody stopping at my blog. Purpose of this web site is to be google of my brain. Everything I found useful, or of possible beneficial for usage in future I've save here at this blog

Contact information

If you want to contact me more on any subject printed at this web stie, you can email me: zaletskiy(at)gmail.com

Job information

If to speak in general, I'm developer. For now I work as team lead in company GlobalLogic.