Sergey Babkin

Graph Equivalence

I want to talk about some interesting graph processing I've done recently. As a part of a bigger...

Author: Sergey Babkin Date: 07/02/2018

Certificate recipes

See also: all the recipes and the intro See also my series of posts about the certificates. The...

Author: Sergey Babkin Date: 01/20/2017

Windows programming recipes

See also: all the recipes and the intro # How to: Convert Between Various String Types...

Author: Sergey Babkin Date: 01/20/2017

assorted PowerShell recipes

See also: all the recipes and the intro # setting up the powershell remoting...

Author: Sergey Babkin Date: 01/19/2017

Security descriptor recipes

See also: all the recipes and the intro For a nicer introduction, please read my series of posts on...

Author: Sergey Babkin Date: 01/19/2017

WMI recipes

See also: all the recipes and the intro WMI is an RPC interface that allows to control the arbitrary...

Author: Sergey Babkin Date: 01/19/2017

xperf recipes

See also: all the recipes and the intro Xperf is the Windows Performance Analyzer, in the Unix terms...

Author: Sergey Babkin Date: 01/19/2017

virtual machine conversion recipes

See also: all the recipes and the intro Here are the recipes of how to convert the VMWare VM images...

Author: Sergey Babkin Date: 01/19/2017

network configuration recipes

See also: all the recipes and the intro See also how to configure CredSSP with PowerShell. #  DHCP...

Author: Sergey Babkin Date: 01/19/2017

ETW and logging recipes

See also: all the recipes and the intro I have the other more detailed posts on the other aspects of...

Author: Sergey Babkin Date: 01/19/2017

See also: all the recipes and the intro I have collected here the small groups of recipes and links...

Author: Sergey Babkin Date: 01/19/2017

how to upload a machine cert to Azure

When you're creating a VM with the Azure Resource Manager ("new Azure portal") and want to connect...

Author: Sergey Babkin Date: 01/13/2017

how to run PowerShell from SetupComplete.cmd

See also: all the recipes and the intro In case if you didn't know,...

Author: Sergey Babkin Date: 01/05/2017

recipe for a WDS test environment

See also: all the recipes and the intro This is an instruction on how to set up a test environment...

Author: Sergey Babkin Date: 01/05/2017

windbg recipes

See also: all the recipes and the intro # Windbg interface for debugging through Hypervisor is...

Author: Sergey Babkin Date: 01/05/2017

vim recipes

See also: all the recipes and the intro # disable indenting of comments :set fo-=ro # Unicode mode:...

Author: Sergey Babkin Date: 01/05/2017

how to mount a System partition

As I've mentioned before, the on the machines with EFI BIOS the boot files are located on a separate...

Author: Sergey Babkin Date: 01/05/2017

file operations and search recipes

See also: all the recipes and the intro # find all the files *.txt recursively under a directory,...

Author: Sergey Babkin Date: 01/05/2017

svn server configuration recipes for Windows

See also: all the recipes and the intro # SVN for Windows https://sourceforge.net/projects/win32svn/...

Author: Sergey Babkin Date: 01/05/2017

git recipes

Over time I've been collecting command snippets for doing various things. These might be some simple...

Author: Sergey Babkin Date: 01/05/2017

how to pretty-print XML in PowerShell, and text pipelines

When I've needed to format an XML document nicely in PowerShell for the first time, I was pretty new...

Author: Sergey Babkin Date: 12/31/2016

how to run arbitrary commands as a service

I want to show how to run the arbitrary commands as a service, even a PowerShell script if you want....

Author: Sergey Babkin Date: 12/30/2016

reporting the nested errors in PowerShell

A pretty typical pattern for PowerShell goes like this: ...allocate resource... try {   ... process...

Author: Sergey Babkin Date: 12/30/2016

reading the ETW events in PowerShell

When testing or otherwise controlling a service, you need to read its log that gets written in the...

Author: Sergey Babkin Date: 12/30/2016

expect in PowerShell

Like the other text tools I've published here, this one is not a full analog of the Unix tool. It...

Author: Sergey Babkin Date: 12/30/2016

booting Windows from a VHD

The easiest way to have multiple Windows versions available on the same machine is to place some of...

Author: Sergey Babkin Date: 12/29/2016

localization both ways

The localization of messages on Windows is done through the MUI files. I.e. aside from mycmd.exe or...

Author: Sergey Babkin Date: 12/29/2016

un-messing Unicode in PowerShell

PowerShell has a bit of a problem with accepting the output of the native commands that print...

Author: Sergey Babkin Date: 12/29/2016

getting a stack trace in PowerShell

One of the most annoying "features" of PowerShell is that when the script crashes, it prints no...

Author: Sergey Babkin Date: 12/28/2016

diff in PowerShell

I have previously shown a variety of sed implemented in PowerShell. Here is another tool from the...

Author: Sergey Babkin Date: 12/28/2016

Setting up the CredSSP access for multi-hop

I've previously shown the way to set  up the multi-hop access with RunAs, but nowadays the...

Author: Sergey Babkin Date: 12/28/2016

Windows service example in C++

Implementing a Windows service is not an easiest thing. There are examples on MSDN but they're not...

Author: Sergey Babkin Date: 12/28/2016

how to install a new Windows service

I've started writing another post on how to write a Windows service and realized that I want to show...

Author: Sergey Babkin Date: 12/27/2016

AdaBoost and Bayes

I'm continuing the reading of the book "Boosting", on the method of machine learning that boosts the...

Author: Sergey Babkin Date: 05/31/2016

AdaBoost in simpler formulas

I'm reading a book about the "boosting": the machine learning idea that a better algorithm can be...

Author: Sergey Babkin Date: 03/18/2016

Certificates, Part 5: dealing with the CNG certificates

As described in the Part 1, the certificates may belong to the classic "Crypto providers" and the...

Author: Sergey Babkin Date: 03/18/2016

PowerShell remoting & DNS

I've noticed a strange thing: the PowerShell remoting works much faster if you use the remote...

Author: Sergey Babkin Date: 03/04/2016

PowerShell & Windows Clusters

I've been recently working with the Windows Clusters. There is the quick deployment guide...

Author: Sergey Babkin Date: 02/26/2016

Bayesian machine learning

I recently wrote a series of posts in my other blog on the Bayes expert system. Some time ago I...

Author: Sergey Babkin Date: 01/03/2016

faster 3D printing

Today I saw a link to an article about the Moore's law for 3D printing:...

Author: Sergey Babkin Date: 12/25/2015

Certificates, part4: PowerShell/WinRM remoting over HTTPS, and cert copying

To do the PowerShell remoting over HTTPS, the WinRM on the remote machine needs a certificate. If...

Author: Sergey Babkin Date: 11/06/2015

Certificates, part 3: encryption and decryption by hand, and SecureString

Continuing the example from part 2, what if you don't have the class EnvelopedCms, such as on the...

Author: Sergey Babkin Date: 11/06/2015

Certificates, part 2: encryption and decryption, and some about the cert store

To do the encryption and decryption with pubic/private keys, you need to start with getting a...

Author: Sergey Babkin Date: 11/06/2015

Certificates, part 1: what do they mean

I've recently learned about certificates on Windows, and I must say collecting the information about...

Author: Sergey Babkin Date: 11/06/2015

exporting C++ classes with STL members from DLLs

I've found this strange hack that lets you DLLexport the C++ classes with the public members of the...

Author: Sergey Babkin Date: 09/08/2015

Collecting the boot-time events over the network.

Today I want to talk about what I actually do at work. I work on the service called "Setup and Boot...

Author: Sergey Babkin Date: 06/23/2015

Next>