Command
Find-CopySessions
Description
This command will list all the copy sessions that you made. It is possible to specify a timeframe for the sessions you want to be listed.
Index
Examples
Find copy sessions from a certain date and time
$startingDateTime = [DateTime]::ParseExact("06-29-2016-08", "MM-dd-yyyy-hh", $null) Find-CopySessions -From $startingDateTime 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
$startingDate = [DateTime]::ParseExact("06-29-2016", "MM-dd-yyyy", $null) $endDate = [DateTime]::ParseExact("06-30-2016", "MM-dd-yyyy", $null) Find-CopySessions -From $startingDate -To $endDate 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
Syntax
Find-CopySessions -From <DateTime>
Find-CopySessions -From <DateTime>
-To <DateTime>
Parameters
-From <DateTime>
Specifies from which date the sessions should be listed.
Required? | False |
Default value | None |
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 |
Default value | None |
Accept pipeline input? | False |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | None |