Skip to content

Tag: PowerShell

Microsoft PowerShell

PowerShell 0

Module: biz.dfch.PS.Sccm.Utilities

This is Microsoft PowerShell module is part of our Apache 2.0 based open source automation framework “Cumulus”. You will find all related posts via the “Cumulus” tag. You can use this module to perform provisioning against SCCM 2012 infrastructure (the module makes use and abstracts Microsoft’s supplied PowerShell module ‘ConfigurationManager’). You can download the module on GitHub or on NuGet […]

PowerShell 0

[Bug] PowerShell Scripts in ScriptsToProcess attribute appear as loaded modules

Microsoft PowerShell module manifests allow you to define scripts that are run prior to actual loading of the module itself. These scripts run in the caller’s scope (and not in the module’s scope) and can be defined by stating them in the ‘ScriptsToProcess’ attribute of the manifest. However, each of these scripts will appear as if they have been loaded […]

PowerShell 2

Module: biz.dfch.PS.RabbitMQ.Utilities

This Microsoft PowerShell module contains Cmdlets to work with RabbitMQ queues, send and receive messages. It uses a wrapper I earlier presented that solved the problem of loading the official RabbitMQ .NET client into a PowerShell session. These Cmdlets further facilitate the handling of sending and receiving of messages via AMQP queues. You can download the module on GitHub or […]

PowerShell 0

[Bug] Class Library Service Reference for ODATA service does not handle return type from CRUD operations

Recently I observed a strange behavior when working with an ODATA service via a “System.Data.Services.Client.DataServiceContext” that was wrapped inside a class library (via a regular “Service Reference”). The specific ODATA service in question was an Entity Framework v4.1 based service and had defined two different entity sets (“Objects” and “Tasks”) along with its regular CRUD operations. The specialty of the […]

PowerShell 1

Module: biz.dfch.PS.Cumulus.Utilities

This is the main module of our Apache 2.0 based open source automation framework “Cumulus”. We will be continuously adding help and documentation for it. You will find all related post via the “Cumulus” tag. You can download the module on GitHub at https://github.com/dfch/biz.dfch.PS.Cumulus.Utilities or on NuGet at https://www.nuget.org/packages/biz.dfch.PS.Cumulus.Utilities Most of the documentation can be found in the Wiki of […]

PowerShell 1

Module: biz.dfch.PS.System.Data

This module provides Cmdlets that let you work with Microsoft SQL Server database (regular and LocalDB) by utilising System.Data.SqlClient (instead of relying on the buggy ‘SqlServerCmdletSnapin100’ snapin and its ‘Invoke-Sqlcmd’ implementation. You can set a ‘DefaultPrefix’ or an alias to call it the same as the Microsoft SQL Server supplied ‘Invoke-Sqlcmd’. Furthermore you can work with LocalDB instances (as used […]

PowerShell 0

Module: biz.dfch.PS.System.Utilities

UPDATE 2015-03-15 we just released v1.0.5 which contains a few new Cmdlets such as Sending SMS to Clickatell via PowerShell. We are currently working on an automation project where we make use of several of our modules that we created in the past. In order to ease integration into the customer’s code and provide a legal basis for re-using the […]

PowerShell 0

[Bug] Start-Job from Scheduled Task fails with event id 8197 when invoked via different Credential Set

[UPDATE 2014-10-21] the code and the assembly are now available under Apache 2.0 license on GitHub at https://github.com/dfch/biz.dfch.CS.System.Utilities [UPDATE 2014-12-10] see below for further details on this issue and a workaround to this that does not need PSRemoting Recently I observed a strange bug that occured when trying to invoke a PowerShell job via the Windows Task Scheduler. In my […]

PowerShell 1

[NoBrainer] More Fun with ODATA Actions in PowerShell

I recently wrote on how you can call ODATA actions via PowerShell. However, sometimes these actions return entity types that you cannot resolve easily in PowerShell. Normally you would resort to “Execute()”, but this is neither easily doable in PowerShell. But as most usual there is another way around this. Instead of using “Execute()” to retrieve the data you rely […]

PowerShell 1

Receiving SignalR messages from PowerShell

A couple of days ago I wrote about how to use RabbitMQ with AMQP from PowerShell (via a small assembly that utilized the original C# .NET Client). After I implemented it in the use case for our customer I somehow felt it to be “too heavy” for what I was really using it (compared to all the features AMQP has to […]

PowerShell 4

Simple RabbitMQ Wrapper for PowerShell

I was working on a project where I needed a pool of PowerShell workers that were distributed across several nodes and should be served by a central dispatcher. So why not give AMQP with RabbitMQ a try? The setup was very easy thanks to the documentation. And besides plenty of .NET library wrappers around “Rabbit.MQ.Client.dll” there were even two PowerShell […]