Category Archives: PowerShellGet

Parsing ipconfig /displaydns

  A recent question on the forum asked how you could get the contents on Windows 7 machines and earlier. On later machines – Windows 8 and above –  its easy because you can use Get-DnsClientCache from the DnsClient module. … Continue reading

Posted in DNS, Networking, PowerShellGet | 1 Comment

A use for default parameters – default powershellget repository

When you use Find-Module by default all repositories are searched £> Find-Module -Name Pester | ft Version, Name, Repository -a Version Name   Repository——- —-   ———-3.2.0   Pester PSGallery3.2.0   Pester PowerShellModules If you don’t give a module name that could be a … Continue reading

Posted in PowerShell v5, PowerShellGet | Leave a comment

Accessing your PowerShellget repository from another machine

So far the new PowerShellGet repository has been accessed from the local machine. You need to register the new repository on each machine from which you want to access it. Register-PSRepository -Name PowerShellModules -SourceLocation http://W12R2DSC:81/nuget/PowerShellModules -InstallationPolicy Trusted The only change … Continue reading

Posted in PowerShell v5, PowerShellGet | Leave a comment

Working with multiple PowerShellGet repositories

In http://blogs.msmvps.com/richardsiddaway/2015/01/04/creating-a-powershellget-repository/  I showed how to create a repository to use with PowerShellGet.  At the end of that article PowerShellGet would search all of the defined repositories for a module £> Find-Module -Name Pester | Format-Table Version, Name, Repository -AutoSize … Continue reading

Posted in PowerShell v5, PowerShellGet | 2 Comments

Creating a PowerShellGet repository

In this post – http://blogs.msmvps.com/richardsiddaway/2014/12/21/delivering-powershell-code-with-the-november-preview/ – I showed how to use PowerShellGet, which is a feature new to PowerShell 5.0 to install PowerShell modules. By default PowerShelget uses the PowerShell gallery at https://www.powershellgallery.com as its source. I don’t feel comfortable … Continue reading

Posted in PowerShell v5, PowerShellGet | 2 Comments