PowerShell for Windows Admins:

PowerShell


October 29, 2014  11:41 AM

PowerShell in Depth second edition ebook

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The ebook for PowerShell in Depth second edition is available from Manning - http://www.manning.com/jones6/

October 28, 2014  1:19 PM

JEA ToolKIt helper

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

JEA – Just Enough Admin – brings Role Based Access Control to Windows. It enables you to delegate specific cmdlets to specific users on specific endpoints. A tool to help you create and mange JEA configurations is now available form

    0 Comments     RSS Feed     Email a friend


October 27, 2014  4:26 PM

PowerShell classes — using methods

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

.NET objects usually have methods as well as properties. A method enables you to do something to or with the object.  PowerShell classes can implement methods: class LastBoot { [string]$ComputerName [DateTime]$LastBootime ## methods [TimeSpan] Uptime([datetime]$lbt) { $ts = (Get-Date)...


October 25, 2014  1:20 PM

PowerShell classes – – overloading constructors

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

You can usually create a .NET object from a class in one of several ways – no parameters i.e. and empty object up to an object with all of its properties populated as you create it. When you define a class you define the various ways in which it can be created – these are known as its...


October 25, 2014  10:16 AM

PowerShell 5.0 – – classes

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

I’ve shown this method of creating a new object several times:   $source = @" public class LastBoot { public string ComputerName {get; set;} public string LastBootime {get; set;} } "@ Add-Type -TypeDefinition $source -Language CSharpVersion3 $computer =...


October 25, 2014  3:13 AM

PowerShell 5 – zip and unzip

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

One the extras in PowerShell 5.0 is a couple of cmdlets for workign with zip archives. Actually, you’ll find they are PowerShell advanced functions if you look in the module which you’ll find at C:\Windows\System32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive   You get...


October 22, 2014  2:39 PM

Run with PowerShell

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Came across  something new today – Run with PowerShell.   if you have PowerShell 3.0 or later installed – right click on your script and select “Run with PowerShell”   A few rules though – The script can’t take parameters or output anything to the prompt. You...


October 22, 2014  11:59 AM

DSC for Exchange

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

A series of posts on using the Exchange DSC resources – starts here

    0 Comments     RSS Feed     Email a friend


October 20, 2014  10:42 AM

Upgrading PowerShell

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The Scripting Guy has started a series on upgrading the version of  PowerShell you run. My article in the series is out today -

    0 Comments     RSS Feed     Email a friend


October 18, 2014  1:49 PM

DSC Resource Kit Wave 8 coming?

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Looks like the next wave of the DSC resource kit is on its way – a set of resources for Exchange 2013 have been published -

    0 Comments     RSS Feed     Email a friend


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: