RSiddaway

Remove a trusted host

Continuing our collection of routines to manage the trusted hosts this time we’ll look at how to remove a trusted host function remove-trustedhost {...

read more

Add a trusted host

Last time I showed how to read the trusted host list - this is how you add a trusted host function add-trustedhost { [CmdletBinding()] param (...

read more

Trusted hosts

You can use trusted hosts in WSMAN based PowerShell remoting to authenticate computers where Kerberos isn’t available. The WSMAN configuration is...

read more

Keep it Simple

One of the principles I’ve always tried to stick with when writing code – in PowerShell or any other language – is Keep it Simple. Keeping code...

read more

PowerShell remoting

PowerShell remoting must be every administrators favourite feature. The fact that you can connect to to multiple machines and get your tasks done...

read more

PowerShell cmdlets

Continuing my series of the features in PowerShell we shouldn’t forget – we get to PowerShell cmdlets. The PowerShell cmdlet ecosystem has grown...

read more

PowerShell Pipeline

With PowerShell v7 getting close to being finished I thought it might be time to look at some of the longstanding PowerShell features that may get...

read more

Get-Counter

The Get-Counter cmdlet returns in PowerShell v7 preview 6. Its only Get-Counter though the Import/Export-Counter cmdlets aren’t available....

read more

Clipboard cmdlets

The clipboard cmdlets return in PowerShell v7 preview 6 Get-Clipboard and Set-Clipboard are back and according to the release notes work cross...

read more

Clear-RecycleBin

The Clear-RecycleBin cmdlet returns in PowerShell v7 preview 6 on Windows PS> Get-Command Clear-RecycleBin -Syntax Clear-RecycleBin...

read more

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...

read more

DNS zones

I’m working through the commonly used DNS server cmdlets to determine if everything works in PowerShell core. First up is the cmdlet to get the DNS...

read more

Get-Hotfix

Get-Hotfix returns to PowerShell in PowerShell v7 preview 5 – at least on Windows. PS> Get-Command Get-HotFix -Syntax Get-HotFix [[-Id]...

read more

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>...

read more

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,...

read more

Get-Error

One of the experimental features new PowerShell v7 preview 5 is the Get-Error cmdlet. The features description states: Enable Get-Error cmdlet that...

read more
1 2 3 22