| external help file | PSCalendar-help.xml |
|---|---|
| Module Name | PSCalendar |
| online version | |
| schema | 2.0.0 |
Save the current calendar configuration settings to a file.
Export-PSCalendarConfiguration [-Passthru] [-WhatIf] [-Confirm] [<CommonParameters>]If you have customized the calendar configuration settings, and which to alway use them, use this command to export the settings to a JSON file in $HOME. The next time you import the module, the settings will be automatically imported. If you want to revert to the default settings, delete the JSON file, $HOME\PSCalendarConfiguration.json. If you uninstall the module, you will need to manually delete the JSON file.
This command was added in module version 2.10.0
PS C:\> Export-PSCalendarConfigurationPrompts 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: FalseShow the configuration settings file.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseShows 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: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
This command has an alias of Save-PSCalendarConfiguration.
Learn more about PowerShell: https://jdhitsolutions.com/yourls/newsletter