Advertisement
Old-Lost

internal module distribution

Mar 22nd, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Deploy it as a package to an internal nuget repo!
  2. Trust me, it's easier than it sounds.
  3. Use the Register-PSRepository, Publish-Module, Install-Module, & Update Module cmdlets.
  4. Register-PSRepository -Name "Internal" -SourceLocation "\fileserver\modules" -PublishLocation "\fileserver\modules" -InstallationPolicy Trusted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement