Module for managing PowerShell through PowerShellGet (PSGet)
depends: |
|
---|
Support for PowerShell
List available modules in registered Powershell module repositories.
Parameters: |
desc (bool ) -- If True , the verbose description will be returned. |
---|
CLI Example:
salt 'win01' psget.avail_modules salt 'win01' psget.avail_modules desc=True
Make sure that nuget-anycpu.exe is installed. This will download the official nuget-anycpu.exe from the internet.
CLI Example:
salt 'win01' psget.bootstrap
Get the details of a local PSGet repository
Parameters: |
name (str ) -- Name of the repository |
---|
CLI Example:
salt 'win01' psget.get_repository MyRepo
Install a Powershell module from powershell gallery on the system.
Parameters: |
|
---|
CLI Example:
salt 'win01' psget.install PowerPlan
List currently installed PSGet Modules on the system.
Parameters: |
desc (bool ) -- If True , the verbose description will be returned. |
---|
CLI Example:
salt 'win01' psget.list_modules salt 'win01' psget.list_modules desc=True
Register a PSGet repository on the local machine
Parameters: |
|
---|
CLI Example:
salt 'win01' psget.register_repository MyRepo https://myrepo.mycompany.com/packages
Remove a Powershell DSC module from the system.
Parameters: |
name (str ) -- Name of a Powershell DSC module |
---|
CLI Example:
salt 'win01' psget.remove PowerPlan
Update a PowerShell module to a specific version, or the newest
Parameters: |
|
---|
CLI Example:
salt 'win01' psget.update PowerPlan
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.win_psget.html