
No need to use any parameters if it is run from the core. #parameters to be use if the script is run from a local workstation. PS C:\scripts>.\Repositories.ps1 -corename 10.23.20.156 -credential The PowerShell team also hosts DSC Resource Kit community calls to give updates, collect feedback, and answer questions.

The commented Script is shown below between horizontal lines and attached to the KB. If you're looking into using PowerShell DSC, have questions or issues with a current resource, or would like a new resource, let us know on Twitter (PowerShellTeam) or by creating an issue on GitHub. The information can be retrieved by running: In this case, the script takes as parameters the name of the core ( -corename) and prompts for credentials if the -credentials parameter is specified. It can be run directly on the core - in which case it does not require any parameters or from an independent workstation, in which case port 8006 needs to be open, the name core making the subject of inquiry needs to be resolvable (IP addresses are OK as well). The Script requires PowerShell 3.0 or later. The script takes into consideration that the repository size is in bytes and uses two functions to do the appropriate transformations into units of measure which are more palatable, taking into account the size of the repository. See PowerShell Scripting Support for more information.Ī Powershell script to address the issue has been prepared. Support shall not be liable for any direct, indirect, incidental, consequential, or other damage alleged in connection with the furnishing or use of this script or of the principles it demonstrates. This script is provided "as is" for the purpose of illustrating how product tasks may be performed in conjunction with PowerShell. Reset the password for the local computer.
• Storage Performance and Utilization Management Replace
