IT Praktyk Blog

How use PowerShell Gallery with AppVeyor?

Posted: July 09, 2016; last updated: July 10, 2016

Introduction

Recently I played with AppVeyor - they advertise themselves as “#1 Continuous Delivery service for Windows”. I don’t know, I didn’t use other services what are mentioned in the GitHub Integration Directory.

My goals are


Make Exchange Hybrid Admin Life Easier - part 2

Posted: June 26, 2016; last updated: June 26, 2016

Introduction

In the part 1 of that series I wrote about network requirement what need to be done on a network level to connect to Office 365 and parsing O365IPAddresses.xml what is published here.

Today I would like share with you how the changes to that file are announced and how data about these changes can be parsed to PowerShell object to make EXchange Hybrid Admi Life Easier :-)

Microsoft publishes information about planned changes for network part of Office 365 as the RSS channel published at https://support.office.com/en-us/o365ip/rss.

The example of a RSS feed, opened in Firefox you see below.

More about RSS format you can read in Wikipedia.


Make Exchange Hybrid Admin Life Easier - part 1

Posted: June 18, 2016; last updated: June 26, 2016

Introduction

When you start using Office 365 in an enterprise environment you need be sure that users and your internal servers (e.g. when you maintain hybrid Exchange Server) are reachable and network traffic between them is not proxied.

The list of network requirements is published by Microsoft as the article ‘Office 365 URLs and IPs address ranges’ published here. The part of that article is the list of hosts for what network traffic need to be allowed and shouldn’t be proxied. The list is the O365IPAddresses.xml XML file and contains Office 365 subservices (e.g. comons used for managing and, Exchange Online, etc.) and IPs and URLs used to deliver them.

A XML format from its nature is not easily human readable. If you would like work with that data the file need to be downloaded, stored on a disk and opened in Excel but that required manual (so boring and prone to errors) job.

To make my life easier I wrote the PowerShell function ConvertFrom-O365AddressesXMLFIle.ps1. The function is intended for downloading and converting - to the custom PowerShell object - the list of hosts used for Office 365 services published as the O365IPAddresses.xml file.


DSC related links

Posted: June 11, 2016; last updated: October 18, 2016

Introduction

This post contains the list of articles, videos, projects related to DSC.

If you would like add something interesting please let me know. Thank you in advance!


Pester related links

Posted: May 29, 2016; last updated: October 18, 2016

Introduction

This post contains the list of articles, videos, projects related to Pester.

If you would like add something interesting please let me know. Thank you in advance!


Pester related links

Posted: May 29, 2016; last updated: September 03, 2016

Introduction

This post contains the list of articles, videos, projects related to Pester.

If you would like add something interesting please let me know. Thank you in advance!


Using Office Configuration Analyzer Tool (OffCAT) from a command line

Posted: May 18, 2016; last updated: June 11, 2016

Introduction

Most people involved in end users support or managing Exchange servers heard about the Office Configuration Analyzer Tool (OffCAT). If you don’t please read first Office Configuration Analyzer Tool (OffCAT) information published here


Exchange Server 2013 Cumulative Update installation fails when expired certificate is assigned

Posted: May 17, 2016; last updated: June 02, 2016

Introduction

Recently I updated my lab with Exchange Server 2013 CU10. Under this process I tried install Cumulative Update 12 for Exchange Server 2013 - KB3108023 on the first server also.


Mock Exchange objects with Pester

Posted: May 11, 2016; last updated: June 02, 2016

Introduction

When you write complicated PowerShell tools used with Exchange Server you need call specific Exchange Servers cmdlets e.g. Get-Mailbox, Get-ExchangeServer etc. Those commands are available only if you are using remote sessions to Exchange...


How don't mock Exchange objects

Posted: May 09, 2016; last updated: June 02, 2016

Introduction

From some time I read and watch presentations about Pester and try use it with scripts wrote by me. Due that most of them is related to Microsoft Exchange Server specially I tried understand how I can mock cmdlets what are not available...