Skip to content

Commit 4479877

Browse files
Merge pull request #950 from vgaddam-pm/patch-8
Create Find-SPOCrossTenantLongFilePathsForSiteRename.md
2 parents 096de77 + 56f5781 commit 4479877

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
---
2+
external help file: Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/find-spocrosstenantlongfilepathsforsiterename
5+
schema: 2.0.0
6+
author: vgaddam-pm
7+
ms.author: vgaddam
8+
ms.reviewer: jmcdowe
9+
---
10+
11+
# Find-SPOCrossTenantLongFilePathsForSiteRename
12+
13+
## SYNOPSIS
14+
15+
Identify sites with file paths over 400 characters for cross-tenant user migration.
16+
17+
## SYNTAX
18+
19+
```
20+
Find-SPOCrossTenantLongFilePathsForSiteRename
21+
[-OldSiteUrl <String>]
22+
[-NewSiteUrl <String>]
23+
[<CommonParameters>]
24+
```
25+
26+
## DESCRIPTION
27+
During SharePoint cross-tenant user migration, file paths from the source tenant must be 400 characters or fewer after merging with the target tenant. This cmdlet helps you identify sites that exceed this limit.
28+
29+
## EXAMPLES
30+
31+
### Example 1
32+
```powershell
33+
Find-SPOCrossTenantLongFilePathsForSiteRename -OldSiteUrl https://contoso.sharepoint.com/sites/site1 -NewSiteUrl https://fabrikam.sharepoint.com/sites/site1
34+
```
35+
Example 1 looks through the site inputted to find file paths that exceed the 400 character limit.
36+
37+
## PARAMETERS
38+
39+
### -NewSiteUrl
40+
Specifies the new URL to assign to the SharePoint site after the rename.
41+
42+
```yaml
43+
Type: String
44+
Parameter Sets: (All)
45+
Aliases:
46+
47+
Required: True
48+
Position: 1
49+
Default value: None
50+
Accept pipeline input: False
51+
Accept wildcard characters: False
52+
```
53+
54+
### -OldSiteUrl
55+
Specifies the original URL of the SharePoint site before the rename.
56+
57+
```yaml
58+
Type: String
59+
Parameter Sets: (All)
60+
Aliases:
61+
62+
Required: True
63+
Position: 0
64+
Default value: None
65+
Accept pipeline input: False
66+
Accept wildcard characters: False
67+
```
68+
69+
### CommonParameters
70+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
71+
72+
## INPUTS
73+
74+
### None
75+
76+
## OUTPUTS
77+
78+
### System.Object
79+
## NOTES
80+
81+
## RELATED LINKS

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ Export user information from site user information list.
108108
### [Export-SPOUserProfile](Export-SPOUserProfile.md)
109109
Export user profile data to csv file.
110110

111+
### [Find-SPOCrossTenantLongFilePathsForSiteRename](Find-SPOCrossTenantLongFilePathsForSiteRename.md)
112+
Identify sites with file paths over 400 characters for cross-tenant user migration.
113+
111114
### [Get-FileSensitivityLabelInfo](Get-FileSensitivityLabelInfo.md)
112115
Extracts and displays the sensitivity label related information attached to an office file stored in SharePoint.
113116

0 commit comments

Comments
 (0)