Skip to content

Initialize POSHOrigin

Brandon Olin edited this page Dec 12, 2015 · 7 revisions
  • Initializes the POSHOrigin configuration repository that will hold default values for cmdlet parameters.
  • Configures the DSC Local Configuration Manager on the local host for PUSH mode.
  • Sets WSMan TrustedHosts to '*' in order to allow PowerShell remoting to a machine by IP address.

Parameters

Name Type Required Description
Repository string True Path to folder that will store POSHOrigin configuration options. Default value is $env:USERPROFILE\.poshorigin\.
ProvisioningServer string False Computer name of provisioning server. DSC configurations will be applied to this machine and executed there. Default is localhost.
ConfigsPath string False Path to folder that will hold the configuration snippets. Default value is $env:USERPROFILE\.poshorigin\configs
Verbose switch False Enables verbose output

Aliases

<none>

Examples

Initialize POSHOrigin with default values.

Initialize-POSHOrigin -Verbose

Initialize POSHOrigin by setting the repository path to c:\poshorigin\ and the configuration snippets path to c:\myconfigs\.

Initialize-POSHOrigin -Repository 'c:\poshorigin' -ConfigsPath 'c:\myconfigs' -Verbose

Clone this wiki locally