Login or Sign Up to become a member!
LessThanDot Site Logo

LessThanDot

A Technical Community for IT Professionals

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

Browsing "powershell"

0

Deploying to ServiceFabric from TeamCity

Recently I’ve been working on an application that runs partially in Azure ServiceFabric. I’ve created a local cluster to work against and now it’s time to configure my TeamCity deployment to deploy upgrades to my application automatically. Initial details: Deploying 2 projects: a .Net 4.6.2 ASP.Net Core app to web app .Net 4.6.2 ServiceFabric project […]

Read More...
0

Creating a local Service Fabric Cluster

Working with Service Fabric and want a local cluster to test and develop against? Here’s the step-by-step path I took from a set of fresh Windows VMs to a running, secured Service Fabric cluster using self-signed X509 certificates. There are a number of Microsoft docs that cover this subject, this is a single beginning-to-end path […]

Read More...
0

Putting files into year folders using powershell

Powershell is great (as am I) for automating boring little tasks. So the question came to put 18 thousand plus image files that were in one folder into folders per year of Date created. So to no longer keep you in suspense, here is the complete code PowerShell1 2 3 4 5 6 7 8 […]

Read More...
0

Access Git Commits during a TeamCity Build using Powershell

Recently I needed access to the list of commits that were included with each of my TeamCity builds. TeamCity provides a pretty big list of Predefined Build Parameters, but it doesn’t provide access to details of the commits it is currently building. Having Powershell and Git on my server, though, I can write some scripts […]

Read More...
0

Automated Deployment to Azure Hosted Services

Azure Hosted Services offers several really awesome features over using physical servers or standard VM infrastructure. Two of these are the staged deployment model and management SDK, which includes a powershell module. Using these two features, we are going to build a deployment script that deploys a new set of services (servers) in Azure, using […]

Read More...
0

Combine Azure Storage Analytics Logs with Powershell

When you have Storage Analytics transaction logging turned on, it produces transaction log files for each service call you make to blob, table, or queue service. Unfortunately it captures these in multiple files per hour, stored in a folder hierarchy by service (blob, queue, table), year, month, day, and hour. Trying to dig through these […]

Read More...
3

SSIS Deployment with PowerShell: Adding Environment References

This blog post explains how you can add environment references in a PowerShell deployment script for SSIS 2012.

Read More...
2

Deploying Database Changes with PowerShell

Recently, while working on a personal project, I found myself needing a lightweight way to deploy database changes to multiple environments. In the past I have used a wide range of methods, ranging from applying the changes manually to applying changes via a diff tool (SQL Compare), to automatically applying manually created change scripts, to automatically applying diff scripts that were automatically generated, to working directly in production..er, pretend you didn’t see that one.

Read More...
5

Getting remote Mount Point information with PowerShell

In a previous post I showed how to get remote disk information with PowerShell. The script works nice untill you execute it on a server with Mount Points. When executing the following script on a server with Mount Points:

Get-WmiObject win32_logicald…

Read More...
2

Getting remote SQL Service information with Windows Powershell

Every DBA managing multiple SQl Servers with multiple instances will know the issues with developpers, project managers and others that don’t know the importance of the instancename when they request you to take some action.
So you can start some e-mai…

Read More...
Next Page »