external help file | Module Name | online version | schema |
---|---|---|---|
PSKoans-help.xml |
PSKoans |
2.0.0 |
Move your entire current PSKoans library folder to another location and update your KoanLocation setting to reflect the new location.
Move-PSKoanLibrary [-Path] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Move-PSKoanLibrary
takes your current PSKoans library location and moves the folder to the specified destination.
Then, it updates the current KoanLocation setting to point to the new location.
PS C:\> Move-PSKoanLibrary -Path C:\Users\Joe\OneDrive
Moves Joe's koan library into his OneDrive directory.
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The path to the new library location. This path can be relative to the current session location, but cannot contain wildcards.
Type: String
Parameter Sets: (All)
Aliases: PSPath, Folder, Destination, TargetPath
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Author: Joel Sallow (@vexx32)