Every now and again I see some people complaining about not getting the properties they want when using a PowerShell command.

For instance, someone was using the Get-Service command to query what was the “Startup Type” of WinRM service . For that the person used the following command:

Get-Service WinRM

which produces the following output: 01_getservice_winrm

As you can see, the “Startup Type” property that we can find on the user interface does not appear here!

Continue reading

I’m currently working on a SQL code migration from Firebird to SQL Server and I hit an error that I haven’t seen for some time.

The error message is the following:

Msg 206, Level 16, State 2, Line 4 Operand type clash: datetime2 is incompatible with int

This ringed the bell right away! Somewhere on the code someone was trying to do an arithmetic calculation without using the proper function.

Continue reading

In two weeks from now, on 23rd of February, I will be speaking at SQLBits 2018! It’s my first time on the largest SQL Server conference in Europe for data professionals.

I will deliver a session about SQL Server Reporting Services and PowerShell titled - “Administrating SSRS without boring web based clicks”.

You can check the great content that will be shared on the 4 days: Trainning days: Wednesday and Thursday Regular sessions: Friday and Saturday

Continue reading