by skufel | Jul 2, 2013 | Automation, Scripting, Windows
To download file from URL I used following piece of code: $fileURL = "http://server/file.zip" $fileName = "C:\Downloads\file.zip" $webclient = New-Object System.Net.WebClient...
by skufel | Jul 2, 2013 | Scripting, Windows
Recently I needed to unzip file from PowerShell script. Here is result what I did use to achieve that: $archiveDir = "C:\Downloads" $fileZip = $archiveDir + "\file.zip" $shell=new-object -com shell.application $zip = $shell.NameSpace($fileZip)...
by skufel | Jun 4, 2013 | Windows
Check this out 🙂 Upgrading Windows from 1.0 to Windows 8 Pro. It’s great video showing the long way we went from Windows 1.0 to current Windows 8 🙂
by skufel | Apr 4, 2013 | Databases, Infrastructure, Scripting, SysAdmin, Windows
Recently I had issue which occured without any particular reason on SQL Server 2012. All of the sudden I start getting error message: Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005...
by skufel | Mar 25, 2013 | Databases, Development, Infrastructure, SysAdmin, Windows
Some of applications require additional SQL Server 2008 or 2012 fetures installed. Some of these features might not be available in standard setup of SQL Server. In that case you have to refer to Microsoft Dowloads web page in order to download additional components...
by skufel | Mar 25, 2013 | Infrastructure, Scripting, SysAdmin, Windows
Unfortunately there is a problem when you try to add .Net Framework 3.51 to Windows Server 2012 using Server Manager. In order to fix that issue and get .Net Framework 3.51 installed (which is required by majority of applications and servers) issue following command...