My recent post on spheres got me wondering about the time for cube calculation. Defining a variable PS> $r = 2.37 I can calculate the cube by...
RSiddaway
Spheres
Continuing my series of functions that can be used for geometric calculations its time for a quick look at spheres. Remember in all of these...
Recent releases
Recent releases of interest include: PowerShell v7 Release Candidate 2. No significant changes from RC 1 – see...
Circles
One of my all time favourite films is “The Thomas Crown Affair” – the original NOT the remake. The films theme tune – Windmillls of your Mind – with...
VScode improvement
VScode is the recommended editor for PowerShell Core as its multi-platform. Personally, I’ve preferred the Windows PowerShell ISE as its more...
Clear the trusted host list
The final option in administering the trusted host list is to clear the entire list. The following function will clear the trusted host list...
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 {...
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 (...
Trusted hosts
You can use trusted hosts in WSMAN based PowerShell remoting to authenticate computers where Kerberos isn’t available. The WSMAN configuration is...
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...
What do you use PowerShell for?
What do you use PowerShell for? Personally, I’ve always used it as a tool to automate the administration of Windows systems. I’ve created and...
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...
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...
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...
PowerShell v7 Release Candidate 1
PowerShell v7 Release Candidate 1 is here. No major new features. The following features have moved out of being experimental: PSCoalescingOperators...
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....
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...
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...
PowerShell v7 preview 6
PowerShell v7 preview 6 has arrived - https://github.com/PowerShell/PowerShell/releases Its the last preview, as the Release candidate should appear...
Get-DnsServerResourceRecord
You saw how to discover the zones on a DNS server in the first post in this series. Now its time to discover the records in a zone. For that you...
Searching Active Directory by email address
I was asked recently about searching Active Directory by email address and returning the first and last names of the users. First off I needed to...
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...
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]...
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>...