PowerShell for Windows Admins:

Powershell


May 15, 2015  11:56 AM

Playing with the range operator

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The range operator allows you to reference a range of numbers 1..10 is equivalent to 1,2,3,4,5,6,7,8,9,10 If you want anything other than numbers you’re stuck as the range operator only works with integers though you can have a decrementing list 10..1 65..74 | foreach...

May 7, 2015  3:35 AM

PowerShell DSC for Linux

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
CIM, Powershell

PowerShell DSC for Linux has moved out of CTP and v1 is available for download from http://www.microsoft.com/en-us/download/details.aspx?id=46919 You...


May 6, 2015  7:08 AM

WMF 5.0 April 2015 preview – – software inventory logging

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

A software inventory module is now included with the April 2015 WMF 5.0 preview £> Get-Command -Module SoftwareInventoryLogging | select...


May 5, 2015  12:44 PM

WMF 5.0 April 2015 preview – – creating guid

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Creating a GUID has always been possible with PowerShell – you just had to drop into .NET £> [System.Guid]::NewGuid() Guid ---- 46c130ca-39ff-463c-b7fb-ed728a1c134f With the latest WMF 5.0 preview life gets easier: £> Get-Command New-Guid -Syntax New-Guid...


May 1, 2015  4:30 AM

WMF 5.0 April 2015 preview – – Format-Hex

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Have you ever needed to generate a hex representation of a string or binary data? Say you have a string - 'PowerShell Rocks' And you want to go the hex representation which is 50 6f 77 65 72 53 68 65 6c 6c 20 52 6f 63 6b 73 You would have to do something like this $hexary =...


April 30, 2015  12:00 PM

WMF 5.0 – Clipboard cmdlets

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The April 2015 WMF 5.0 preview brings new functionality in the shape of cmdlets for working directly with the clipboard. You use Set-Clipboard to put data onto the clipboard £> get-command Set-Clipboard -Syntax Set-Clipboard [-Append] [-WhatIf] [-Confirm]...


April 30, 2015  5:51 AM

WMF 5.0–New-TemporaryFile

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Creating a temporary file in PowerShell 4.0 and earlier has been possible using a number of techniques such as: £> $file = [System.IO.Path]::GetTempFileName() £> $file C:\Users\Richard\AppData\Local\Temp\tmpEFAD.tmp With the April 2015 WMF 5.0 preview this becomes much...


April 29, 2015  11:19 AM

WMF 5.0 April 2015 Preview is available

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The PowerShell team have released the April 2015 WMF 5.0 preview.  Details from

    0 Comments     RSS Feed     Email a friend


April 28, 2015  3:16 AM

OMI/CIM/WMI dictionary

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
CIM, Powershell, WMI

Don Jones provides a very good summary of the similarities and differences between WMI, CIM and OMI http://powershell.org/wp/2015/04/24/management-information-the-omicimwmimidmtf-dictionary/ Recommended reading if you’re using these technologies


April 22, 2015  2:12 PM

PowerShell Summit NA 2015

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

We’re into the last afternoon as I write this. We’ve had some amazing sessions with excellent presentations on DSC, security aspects of using PowerShell, using and manipulating data with PowerShell, PowerShellGet, Nano server, working with ACLs in PowerShell and PowerShell help. This has...


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: