명령 앞에 모듈 이름 을 붙여서 충돌을 해결할 수 있습니다 .
PsGet 설치 및 방법 :
C:\repos> install-module csproj
Module csproj was not found in central repository
At C:\Users\Administrator\Documents\WindowsPowerShell\Modules\PsGet\PsGet.psm1:694 char:13
+ throw "Module $Module was not found in central repository ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Module csproj w...tral repository:String) [], RuntimeException
+ FullyQualifiedErrorId : Module csproj was not found in central repository
규정 된 이름을 사용하여 :
C:\repos> powershellget\install-module csproj
Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running
the Set-PSRepository cmdlet. Are you sure you want to install the modules from 'PSGallery'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): y
C:\repos>
http://windowsitpro.com/blog/dealing-cmdlet-name-conflicts 덕분에
설명서의 URL을 읽어 얻은 모듈 이름-https: //msdn.microsoft.com/powershell/reference/5.1/PowerShellGet/install-module
자세한 정보 : https://andrwwatt.wordpress.com/2006/05/13/coping-with-a-powershell-naming-clash/
Install-Module에서는를 설치하는 데 사용됩니다Azure Resource Manager.Install-Module자체는 PowerShell 3.0의Azure Resource Manager일부이며 PowerShell 5의 일부