Monthly Archives: March 2019

Pro Microsoft Hyper-V 2019

I’ve always maintained that the most important thing about PowerShell is what you can do with it. This is brought out in my book – Pro Microsoft Hyper-V 2019 – https://www.apress.com/gb/book/9781484241158 . My co-author and I describe how to create … Continue reading

Posted in Hyper-V, Powershell | Leave a comment

PSCommandNotFoundSuggestion

PowerShell v6.2 contains a number of experimental features including PSCommandNotFoundSuggestion The idea of experimental features is to make the use of new features – especially those that may cause breaking changes optional.  Feedback can be obtainied and the experimental features … Continue reading

Posted in PowerShell v6 | Leave a comment

PowerShell v6.2 experimental features

I’ve mentioned the PowerShell v6.2 experimental features before. This blog post from the PowerShell team https://devblogs.microsoft.com/powershell/general-availability-of-powershell-core-6-2/ gives a good overview of the available experimental features. I’ve already covered the use of the temp drive. The command not found suggestions and … Continue reading

Posted in PowerShell v6 | Leave a comment

Copy-Item

Copy-Item seems to cause problems for many users.  I’ve written an article on the use of Copy-Item that you may find useful – https://searchwindowsserver.techtarget.com/tip/PowerShell-commands-to-copy-files-Basic-to-advanced-methods

Posted in Powershell | Leave a comment

PowerShell v6.2 release

The Powershell v6.2 release has just been made available on github – https://github.com/PowerShell/PowerShell/releases The full release notes aren’t available on the Microsoft documentation yet – they should appear in the What’s New section of https://docs.microsoft.com/en-us/powershell/scripting/overview?view=powershell-6 The release notes on github … Continue reading

Posted in PowerShell v6 | Leave a comment

Read-Host

Read-Host enables you to prompt for input for your functions and scripts. For instance I see a lot of examples of this sort of code: $group = Read-Host -Prompt ‘Group Name’ Get-ADGroupMember -Identity $group You should only use Read-Host as … Continue reading

Posted in Powershell | Leave a comment

Powershell default parameters

The issue Scope issue with Install-Module that I discussed in recent posts is annoying because I know that I’ll forget about it and end up installing in the wrong place and have to uninstall and reinstall. Then I remembered PowerShell … Continue reading

Posted in PowerShell v6 | Leave a comment