Register-MFLocalPsResourceRepository
SYNOPSIS
Add a local file-based PowerShell repository into the systems temp location
SYNTAX
Register-MFLocalPsResourceRepository [[-RepositoryName] <String>] [[-Path] <String>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Allows you to test psresourceGet, as well as directly manipulate the nuget package, for example, to add git data to the nuspec
EXAMPLES
EXAMPLE 1
Register-MFLocalPsResourceRepository
#### DESCRIPTION
Create a powershell file repository using default values.
Repository will be called: LocalTestRepository Path will be where-ever [System.IO.Path]::GetTempPath() points
PARAMETERS
-RepositoryName
Name of the repository
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: LocalTestRepository
Accept pipeline input: False
Accept wildcard characters: False
-Path
Root path of the module. Uses Temp Path by default
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: [System.IO.Path]::GetTempPath()
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
NOTES
Author: Adrian Andersson