PowerShell for Windows Admins:

PowerShell


August 10, 2014  2:34 AM

Euorpean PowerShell Summit 2014 registration details

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
PowerShell

The European PowerShell Summit, organised by PowerShell.org, will be in Amsterdam September 29 - October 1 2014 at the Park Hotel. Details at   Bookmark and Share     0 Comments     RSS Feed     Email a friend

August 6, 2014  2:18 PM

Invoke-Item tips

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
PowerShell

Invoke-Item is another cmdlet that you don’t see used that often but there is one place where its invaluable – opening files. If you give Invoke-Item the path to a file Invoke-Item -Path .\procs.txt The file will be opened with the default application associated with that extension. In...


August 5, 2014  12:42 PM

ServerManagerTasks module – - Get-SMServerFeature

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
CIM, PowerShell, WMI

Finding the Windows features installed on a remote machine can be an interesting task. You could use Get-WindowsFeature but that gives you a “graphical” display: £> Get-WindowsFeature | where DisplayName -like '*DNS*' Display Name        ...


August 4, 2014  2:09 PM

European Summit – - update 6

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
PowerShell

As pointed out on PowerShell.org - http://powershell.org/wp/2014/08/03/powershell-summit-europe-2014-status/ – we’re around...


July 24, 2014  2:22 PM

History cmdlets

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
PowerShell

There are 4 cmdlets for working with the history in a PowerShell session: Add-History – adds an entry to the history Clear-History – clears the history Get-History -enables you see the current history Invoke-History – enables you to run a line in your history Get-History is the one I...


July 23, 2014  2:10 PM

Its mandatory Jim but not as we know it

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
PowerShell

A uestion was asked on the forum about whether a parameter could be made mandatory sometimes and nor other – in particular if a parameter could be made mandatory if another parameter was used. My initial thought was that it couldn’t but a little experimentation with parameter sets produced...


July 22, 2014  6:08 AM

July 22 2014–deal of the day

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Books, PowerShell

Half off my book PowerShell and WMI. Use code dotd072214au at www.manning.com/siddaway2/ Also Half off PowerShell in Depth, Second Edition. Use code dotd072214au at www.manning.com/jones6/  


July 21, 2014  1:45 PM

Bad practice – - creating objects

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
PowerShell

Another in my occassional series on bad practices I’ve seen and recommend you avoid.  This time I want to look at creating objects. I recently saw some code that looked a bit like this: $os = Get-CimInstance -ClassName Win32_OperatingSystem $comp = Get-CimInstance -ClassName...


July 20, 2014  1:45 PM

Docker and DSC for Linux

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
PowerShell

Docker is a way to “virtualise” applications on Linux machines. With DSC for Linux you can manage Docker instances Bookmark and Share     0 Comments     RSS Feed     Email a friend


July 20, 2014  1:39 PM

DSC Resource Kit Wave 5

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
PowerShell

The next wave of the DSC resource kit has arrived – 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: