-
Notifications
You must be signed in to change notification settings - Fork 5
Set JournalDefaultLocation
external help file: JournalCli.dll-Help.xml
Module Name: JournalCli
online version:
schema: 2.0.0
Sets the default location on disk for the journal.
Set-JournalDefaultLocation [-Location] <String> [<CommonParameters>]
Setting the default location for the journal allows you to omit the -Location
parameter from most other JournalCli
cmdlets. Further, you can have one default journal location while also maintaining other, secondary locations where additional journals are stored. When executing commands against a secondary journal location, the -Location
will be necessary in order to override the default.
PS C:\> Set-JournalDefaultLocation C:\Users\EHumperdinck\Documents\Journal
Sets the default journal location to C:\Users\EHumperdinck\Documents\Journal
The root directory for the journal to search for entries. This is only required if no default journal location has been set, or to search a non-default location.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
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.