PowerShell for Windows Admins:

Powershell


July 5, 2016  9:46 AM

PowerShell 2.0 Engine removed from Server 2016

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell, Windows Server 2016

I hadn’t realised that the PowerShell 2.0 engine had been removed from Windows Server 2016 TP5 PS C:\Windows\system32> Get-WindowsFeature  PowerShell-V2 | ft -a Display Name                          Name          Install...

July 4, 2016  12:59 PM

Some potentially useful modules

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

I’ve come across a number of modules over the last few months that may be of interest. In no particular order: PSDEPLOY - 0 Comments     RSS Feed     Email a friend


July 1, 2016  7:32 AM

First nail in PowerShell’s coffin?

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The MSDN pages describing the installation and use of containers 0 Comments     RSS Feed     Email a friend


July 1, 2016  3:17 AM

PowerShell Direct

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell, Windows 10, Windows Server 2016

PowerShell Direct is a PowerShell 5.1 feature available in Windows 2016 TP5 and above and the later builds of Windows 10. It adds 3 parameters: -VMId -VMGuid -VMName To these cmdlets Enter-PSsession Invoke-Command New-PSsession but NOT New-Cimsession The VMId & ID...


June 29, 2016  10:57 AM

Cleaning up entries on Remote Desktop Connection

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell, Registry settings

I use RDP between my main laptop and the machine on which my lab resides. When I rebuild the lab the entries in the Remote Desktop Connection for the old machine still remain. There isn’t a direct way to remove those entries. But you can remove them from the registry. First view the...


June 29, 2016  8:36 AM

Boolean in Where-Object filter

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

I was testing some code yesterday and realised there was a quirk in the way the original where syntax (with {}) worked and the way the newer syntax worked. To demonstrate this I created a set of objects $i = 0 $tests = while ($i -lt 25){ New-Object -TypeName PSObject -Property @{ Index =...


June 28, 2016  10:35 AM

Still asking for topics

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Earlier in the month I posted a request for topics on powershell.org https://powershell.org/request-for-topics/ This is a request for YOU to tell us what topics you would like to see at...


June 27, 2016  12:57 PM

PowerShell Summit & Conference videos 2016

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

If you didn’t get to any of these conferences this year the videos are now available. PowerShell and DevOps Summit 0 Comments     RSS Feed     Email a friend


June 25, 2016  9:17 AM

Parallel processing

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

One of the great features PowerShell brings is the ability to remotely administer your servers. Most people begin remote administration by processing the servers sequentially. Eventually, this process breaks down because you have too many servers and/or the processes you are running against each...


June 12, 2016  4:22 AM

Months

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

It would be nice to be able to do this: PS>  Get-Date -Day 25 -Month December -Year 2016 Get-Date : Cannot bind parameter 'Month'. Cannot convert value "December" to type "System.Int32". Error: "Input string was not in a correct format." At line:1 char:25 + Get-Date -Day 25 -Month...


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: