PowerShell for Windows Admins:

Powershell


January 11, 2015  5:21 AM

Add-Computer is your friend

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory, Powershell

When spinning up new machines and joining them to the domain at least 2 reboots are required. One when you rename the machine (Windows used to let you specify the name at install time – the removal of that feature was a step backwards) and the other when you join it to the domain. I was...

January 9, 2015  11:30 AM

foreach, pipelines and $_

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory, Powershell

I’ve recently seen a few questions where people have been using a pipeline inside a foreach loop and experienced problems when they’ve tried to access properties on the looping objects. To illustrate we’ll start with a CSV file containing emailaddresses and job titles. £> Import-Csv...


January 7, 2015  2:27 PM

DHCP scope lease time

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
DHCP, Powershell, Windows Server 2012, Windows Server 2012 R2

I wanted to reduce the lease time on a DHCP scope $lt = New-TimeSpan -Hours 12 Set-DhcpServerv4Scope -ScopeId 10.10.54.0 -LeaseDuration $lt You could even make it a one liner if you wished Set-DhcpServerv4Scope -ScopeId 10.10.54.0 –LeaseDuration (New-TimeSpan -Hours 12)


January 6, 2015  11:50 AM

A use for default parameters – default powershellget repository

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

When you use Find-Module by default all repositories are searched £> Find-Module -Name Pester | ft Version, Name, Repository -a Version Name   Repository ------- ----   ---------- 3.2.0   Pester PSGallery 3.2.0   Pester PowerShellModules If you don’t give a module name...


January 6, 2015  2:56 AM

PowerShell Summit Europe 2015–topic submissions

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Topic submissions for the PowerShell Summit Europe are still open. If you want to be considered as a speaker please submit your topic very soon. At the moment there aren’t enough submissions to enable us to put on a quality event. The 2014 European Summit was an excellent event with many good...


January 5, 2015  10:33 AM

Accessing your PowerShellget repository from another machine

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

So far the new PowerShellGet repository has been accessed from the local machine. You need to register the new repository on each machine from which you want to access it. Register-PSRepository -Name PowerShellModules -SourceLocation


January 5, 2015  5:01 AM

Working with multiple PowerShellGet repositories

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

In http://blogs.msmvps.com/richardsiddaway/2015/01/04/creating-a-powershellget-repository/  I showed...


January 4, 2015  11:25 AM

Creating a PowerShellGet repository

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

In this post - Bookmark and Share     0 Comments     RSS Feed     Email a friend


January 1, 2015  5:25 AM

PowerShell in 2015

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

See Don Jones’ predictions for PowerShell in 2015 - Bookmark and Share     0 Comments     RSS Feed     Email a friend


December 31, 2014  8:51 AM

PowerShell Summit NA 2015

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

We will be getting extra capacity for the PowerShell Summit NA 2015 in Charlotte. The extra places should become available 11 January 2015 – see Bookmark and Share     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: