Category Archives: Powershell

Fibonacci series

Today’s date 23 November is 1123 id written as month then day. Those numbers are the start of the Fibonacci series. So as its Fibonacci day here’s a quick PowerShell function to create a Fibonacci series. function new-fibonacci {   param … Continue reading

Posted in Powershell | 1 Comment

Resolve-Path

Resolve-Path is a cmdlet I haven’t used much – if at all – so I thought I should have a look at it. At an arbitrary point in the file system: PS> Get-Location Path —- C:\Scripts\Modules\Coordinates .. Indicates the next … Continue reading

Posted in Powershell | 1 Comment

Ad hoc development

I was having a discussion about how people can learn PowerShell at the recent UK PowerShell day and mentioned ad hoc development. Surprisingly, no-one really knew what I meant. Ad hoc development is a concept more than a development type. … Continue reading

Posted in Powershell | 2 Comments

Hidden files

If you suspect there are hidden files in a folder you can use the Attributes parameter to discover them: PS> Get-ChildItem -Path c:\test -Attributes H OR PS> Get-ChildItem -Path c:\test -Attributes h OR PS> Get-ChildItem -Path c:\test -Hidden If you … Continue reading

Posted in Powershell | Leave a comment

Receive-Job Keep parameter

The Receive-Job Keep parameter is required if you want the data contained in the job to remain available. if you don’t use the –Keep parameter (a switch) the data will be deleted. Its a pain to remember to use the … Continue reading

Posted in Powershell | Leave a comment

PowerShell Day UK 2019 slides and code

Had a great day at PowerShell Day UK 2019. The PowerShell Day UK 2019 slides and code for my session are available at https://github.com/RichardSiddaway/PSDay2019.

Posted in Powershell | Leave a comment

UK PowerShell day is Saturday

The UK PowerShell day is Saturday – 28 September  – two days away. If you want to be there tickets are still available – https://psday.uk/ If you’re going – say hello See you there

Posted in Powershell | Leave a comment