-
-
Notifications
You must be signed in to change notification settings - Fork 3
Loading Configurations
Brandon Olin edited this page Jan 4, 2016
·
5 revisions
You load POSHOrigin configurations by calling the Get-POSHOriginConfig function and specifying the file, files, or folder to process. You can recursively process subfolders as well. Get-POSHOriginConfig returns one or more custom objects that can then be converted into DSC configurations.
See Get-POSHOriginConfig for more information.
$myConfig = Get-POSHOriginConfig -Path .\myFolder.ps1 -Verbose$myConfigs = '.\myfile1.ps1', 'myfile2.ps1' | Get-POSHOriginConfig -Verbose$myConfigs = Get-POSHOriginConfig -Path . -Recurse -Verbose- Home
- Quickstart
- What is POSHOrigin?
- Setup / Initialization
- Configuration File
- Defaults File
- Loading Configurations
- Testing Configurations
- Executing Configurations
- Sharing Configurations
- Modules
- Credentials
- Using Secrets
- Using Resolvers