Command
Find-CopySessions
Syntax
Find-CopySessions
[-From <DateTime>] [-To <DateTime>]
Description
This command will list all the copy sessions that you made. It is possible to specify a time-frame for which you want the sessions to be listed.
Examples
Find copy sessions from a certain date and time
PS C:\> Find-CopySessions -From "2016/06/29 8:00:00" Id : 160629-1 StartDate : 6/29/2016 5:21:27 PM SourceTitle : Documents SourceAddress : http://intranet-old/sites/projects DestinationTitle : Documents DestinationAddress : http://intranet/sites/projects EndDate : 6/29/2016 5:21:46 PM HasEnded : True Details : 10 Success, 0 Warnings, 0 Errors
Find copy session between two dates
PS C:\> Find-CopySessions -From 2016/06/29 -To 2016/06/30 Id : 160629-1 StartDate : 6/29/2016 5:21:27 PM SourceTitle : Documents SourceAddress : http://intranet-old/sites/projects DestinationTitle : Documents DestinationAddress : http://intranet/sites/projects EndDate : 6/29/2016 5:21:46 PM HasEnded : True Details : 10 Success, 0 Warnings, 0 Errors Id : 160630-1 StartDate : 6/30/2016 5:10:12 PM SourceTitle : Documents SourceAddress : http://intranet-old/sites/projects DestinationTitle : Documents DestinationAddress : http://intranet/sites/projects EndDate : 6/30/2016 5:11:12 PM HasEnded : True Details : 23 Success, 0 Warnings, 0 Errors
Parameters
-From <DateTime>
Specifies from which date the sessions should be listed.
Required? | False |
Position? | 0 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | None |
-To <DateTime>
Specifies to which date the sessions should be listed.
Required? | False |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | None |
Inputs
None
Outputs
CopySession[]
An array of copy sessions
Comments
0 comments
Please sign in to leave a comment.