Sergey Babkin

Error handling, part 4: error information recap

<<Part 3 Part 5>> Picking up again the series on the error handling, here is the summary...

Author: Sergey Babkin Date: 04/21/2015

How to convert a short 8.3 path name to a long path name in PowerShell

Here is another recipe that seems to be far from obvious. I've needed to convert a path name that...

Author: Sergey Babkin Date: 04/01/2015

Another solution to multi-hop PowerShell remoting

I've discovered another solutions for the problem of two hops in the PowerShell remoting, that I...

Author: Sergey Babkin Date: 03/18/2015

Error handling, part3: the ETW way

<< Part 2 Part 4>> The Part 2 ended with the summary: In a good error reporting system,...

Author: Sergey Babkin Date: 03/17/2015

Error handling, part 2: error types

<< Part 1 Part3 >> Over the years I've seen various error handling conventions and...

Author: Sergey Babkin Date: 03/13/2015

Error handling, part 1: how not to

Part 2>> With this post I start the series on how to handle the errors right. I've been...

Author: Sergey Babkin Date: 03/06/2015

Security descriptors, part3: raw descriptors and PowerShell

<< Part 2 In this part I'll get to the manipulation of the security descriptors with...

Author: Sergey Babkin Date: 03/02/2015

Security descriptors, part 2: principals, SIDs and PowerShell

<< Part 1 Part 3 >> Now let's get to the code examples. Dealing with the security...

Author: Sergey Babkin Date: 02/27/2015

Security descriptors, part 1: what they are, in simple words

Part 2 >> I've been dealing with the security descriptors recently. I've figured out for...

Author: Sergey Babkin Date: 02/26/2015

Time conversions in PowerShell (and .NET in general)

I've been dealing with the timestamps on the files, and I needed to convert between 3 formats: the...

Author: Sergey Babkin Date: 02/20/2015

Powershell script blocks are not closures

I've been experimenting some more with the script blocks, and I've found that my description of them...

Author: Sergey Babkin Date: 01/02/2015

Making credentials

The PowerShell remoting commands use the parameter -Credential. If you use a string for its value,...

Author: Sergey Babkin Date: 12/08/2014

sed in PowerShell

OneĀ of the thingsĀ that had been annoying me in PowerShell is the lack of sed, the Streaming text...

Author: Sergey Babkin Date: 11/25/2014

How to create a brand new registry hive

First of all, the registry hive is a file that holds the contents of a whole registry root key on...

Author: Sergey Babkin Date: 11/10/2014

calling the script blocks in PowerShell

The script blocks are the PowerShell way to pass a chunk of code as an argument to a command. So...

Author: Sergey Babkin Date: 10/30/2014

Introduction

In my background I'm a Unix (and sometimes Linux) guy. So now when I work on Windows, I discover the...

Author: Sergey Babkin Date: 10/29/2014

<Previous