Skip to content

Commit 69eaf35

Browse files
000-742: listunique
1 parent 3d6ff7c commit 69eaf35

File tree

7 files changed

+81
-18
lines changed

7 files changed

+81
-18
lines changed

_includes/head.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
'FR','GG','GR','HR','HU','IE','IM','IT','JE','LT','LU',
2929
'LV','MT','NL','PL','PT','RO','SE','SI','SK'
3030
],
31-
'wait_for_update': 500,
31+
'wait_for_update': 5,
3232
});
3333
// Default settings
3434
gtag('consent', 'default', {
@@ -39,12 +39,12 @@
3939
'functionality_storage': 'granted',
4040
'personalization_storage': 'granted',
4141
'security_storage': 'granted',
42-
'wait_for_update': 500,
42+
'wait_for_update': 5,
4343
});
4444
gtag('set', 'ads_data_redaction', true);
4545
gtag('set', 'url_passthrough', false);
4646
</script>
47-
47+
4848
{% unless site.hide_share_buttons %}
4949
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma-social@1/bin/bulma-social.min.css">
5050
{% endunless %}

articles/en/Other/customizesignin.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Upload your logos and enter the text that should appear on the sign-in page. Opt
7373
<img src="/articles/img/customizesignin6.png" width="600" alt="company branding in Microsoft Entra ID">
7474

7575

76+
<br/>
7677

7778
### Review and Save
7879

articles/en/Server/google28caad643e5a00ef.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

articles/en/spo/enableattachments.md renamed to articles/en/spo/disableattachments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ Modern SharePoint lists often allow users to attach files to list items. However
1616

1717
You can disable the attachments in your SharePoint list directly in the browser and for a single list I would recommend this approach
1818

19-
[![IMAGE ALT TEXT](http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](https://youtu.be/i8In3duIdq0 "Video Title")
19+
<iframe width="560" height="315" src="https://www.youtube.com/embed/Ypm0qhYxz90" frameborder="0" allowfullscreen></iframe>
2020

2121

2222
test
2323

2424

25-
<video src="https://youtu.be/i8In3duIdq0" controls></video>
25+
[Watch on YouTube](https://www.youtube.com/watch?v=Ypm0qhYxz90)
2626

2727
## Powershell
2828

articles/en/spo/downloadable.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ When you create a link to a file in SharePoint using the standard method, it ope
1515

1616
Navigate to your library and select the file. Click on three dots (...) and select **Download**
1717

18-
<img src="/articles/img/downloadable.PNG" width="600" alt="screenshot showing a SharePoint library"><br/>
18+
<img src="/articles/img/downloadable.png" width="600" alt="screenshot showing a SharePoint library"><br/>
1919

2020
In your browser click on the download icon open the **Download History**
2121

2222

23-
<img src="/articles/img/downloadable2.PNG" width="600" alt="screenshot showing a SharePoint library"><br/>
23+
<img src="/articles/img/downloadable2.png" width="600" alt="screenshot showing a SharePoint library"><br/>
2424

2525

2626
Copy the link from your download history:
2727

28-
<img src="/articles/img/downloadable3.PNG" width="600" alt="screenshot showing downloads history"><br/>
28+
<img src="/articles/img/downloadable3.png" width="600" alt="screenshot showing downloads history"><br/>
2929

3030

3131

articles/en/spo/listfilesunique.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,36 @@ date: '2025-02-09'
88
---
99

1010

11+
12+
13+
14+
# Define the list name
15+
$listName = "YourListName"
16+
17+
# Path for the output CSV file
18+
$outputCsvPath = "C:\Path\To\Output\UniquePermissionsReport.csv"
19+
20+
# Get all list items
21+
$items = Get-PnPListItem -List $listName -PageSize 5000 -Fields "FileRef", "FileLeafRef", "Modified"
22+
23+
# Initialize an array to store details of items with unique permissions
24+
$uniqueItems = @()
25+
26+
# Iterate through each item to check for unique permissions
27+
foreach ($item in $items) {
28+
# Check if the item has unique permissions
29+
if ($item.HasUniqueRoleAssignments) {
30+
# Add item details to the array
31+
$uniqueItems += [PSCustomObject]@{
32+
Name = $item["FileLeafRef"]
33+
FileRef = $item["FileRef"]
34+
LastModified = $item["Modified"]
35+
}
36+
}
37+
}
38+
39+
# Export the details to a CSV file
40+
$uniqueItems | Export-Csv -Path $outputCsvPath -NoTypeInformation -Encoding UTF8
41+
42+
# Output the result
43+
Write-Host "Details of items with unique permissions have been exported to $outputCsvPath"

index.md

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,24 @@ Enjoy!
117117

118118
<ol style="--length: 5" role="list">
119119

120+
<li style="--i: 12"><a href="https://powershellscripts.github.io/articles/en/Other/customizesignin/">
121+
<span style="display: block; text-align: right;">2025-02-09
122+
<h3>Disable attachments in SharePoint list</h3></span>
123+
<p>You may want to disable list attachments to maintain a cleaner or more secure list environment. Here's how you can do this for one or multiple lists.</p>
124+
</a></li>
125+
126+
<li style="--i: 12"><a href="https://powershellscripts.github.io/articles/en/Other/customizesignin/">
127+
<span style="display: block; text-align: right;">2025-02-09
128+
<h3>Create download link to SharePoint file</h3></span>
129+
<p>When you create a link to a file in SharePoint using the standard method, it opens in the browser by default. Make the file downloadable instead, by customizing the link.</p>
130+
</a></li>
131+
132+
133+
<li style="--i: 7"><a href="https://powershellscripts.github.io/articles/en/Other/customizesignin/">
134+
<span style="display: block; text-align: right;">2025-02-08
135+
<h3>Customize Microsoft 365 login page</h3></span>
136+
<p>With Microsoft 365, you can customize your sign-in page and have a company-branded login experience for your users.</p>
137+
</a></li>
120138

121139
<li style="--i: 18"><a href="https://powershellscripts.github.io/articles/en/Viva/vivavsteams/">
122140
<span style="display: block; text-align: right;">2025-02-08
@@ -195,7 +213,7 @@ Enjoy!
195213
<p>You can move a Viva Engage conversation to another community or stop users from moving posts to your community.</p>
196214
</a></li>
197215

198-
<li style="--i: 12"><a href="https://powershellscripts.github.io/articles/en/SharePointOnline/findctidPS/">
216+
<li style="--i: 12"><a href="https://powershellscripts.github.io/articles/en/SharePointOnline/findctIDPS/">
199217
<span style="display: block; text-align: right;">2024-08-18
200218
<h3>Find content type ID using Powershell</h3></span>
201219
<p>Content type IDs in SharePoint uniquely identify the content type. This article helps you find the ID using Powershell.</p>
@@ -273,13 +291,13 @@ Enjoy!
273291
<p>KQL (Keyword Query Language) is a syntax used primarily within Microsoft products like SharePoint and Microsoft Search to formulate search queries. Understanding its basic rules and operators such as `AND`, `OR`, and other principles is crucial for constructing effective search queries. Here’s a breakdown of these rules with some examples.</p>
274292
</a></li>
275293

276-
<li style="--i: 16"><a href="https://powershellscripts.github.io/articles/en/Viva/vivagraphapi/">
294+
<li style="--i: 20"><a href="https://powershellscripts.github.io/articles/en/Viva/vivagraphapi/">
277295
<span style="display: block; text-align: right;">2024-06-02
278296
<h3>Manage Viva Engage with Graph API</h3></span>
279297
<p>Get, create and manage your Viva Engage communities using Graph API. Examples with Graph Explorer and explanation of the API. Read on... </p>
280298
</a></li>
281299

282-
<li style="--i: 16"><a href="https://powershellscripts.github.io/articles/en/Viva/Closeconversation/">
300+
<li style="--i: 20"><a href="https://powershellscripts.github.io/articles/en/Viva/Closeconversation/">
283301
<span style="display: block; text-align: right;">2024-05-26
284302
<h3>Close conversations in Viva Engage</h3></span>
285303
<p>There is a variety of reasons why you should be closing Viva Engage conversations. A guide to keeping your Viva Engage community in orderly fashion</p>
@@ -298,35 +316,47 @@ Enjoy!
298316
</a></li>
299317

300318

301-
<li style="--i: 16"><a href="https://powershellscripts.github.io/articles/en/Viva/removeleader/">
319+
<li style="--i: 20"><a href="https://powershellscripts.github.io/articles/en/Viva/removeleader/">
302320
<span style="display: block; text-align: right;">2024-02-17
303321
<h3>Remove a Viva Engage leader</h3></span>
304322
<p>The leadership feature in Viva allows you to identify the leaders in your organization and the leaders to reach their targeted audiences. When you want to remove the leader functionalities from a user, you need to remove him from the leaders list in the Viva Admin Center. </p>
305323
</a></li>
306324

307-
<li style="--i: 16"><a href="https://powershellscripts.github.io/articles/en/Viva/How%20to%20post%20as%20delegate/">
325+
<li style="--i: 20"><a href="https://powershellscripts.github.io/articles/en/Viva/How%20to%20post%20as%20delegate/">
308326
<span style="display: block; text-align: right;">2024-02-03
309327
<h3>Viva: How to post as a delegate</h3></span>
310328
<p>Now, you can post on behalf of another person in Viva Engage. This feature allows Viva Engage users to assign a delegate who can post on behalf of them. Configure it through Yammer’s settings section... </p>
311329
</a></li>
312330

313-
<li style="--i: 16"><a href="https://powershellscripts.github.io/articles/en/Viva/leadervscommunicator/">
331+
<li style="--i: 20"><a href="https://powershellscripts.github.io/articles/en/Viva/leadervscommunicator/">
314332
<span style="display: block; text-align: right;">2024-02-03
315333
<h3>Viva Engage: Leaders vs Corporate Communicators</h3></span>
316334
<p>Viva Engage provides two special privileged roles that allow users for extra communication capabilities. One of them is Leaders and the other Corporate Communicator. The article compares the two roles. </p>
317335
</a></li>
318336

319-
<li style="--i: 16"><a href="https://powershellscripts.github.io/articles/en/Viva/Post%20as%20a%20leader%20to%20specific%20groups/">
337+
<li style="--i: 20"><a href="https://powershellscripts.github.io/articles/en/Viva/Post%20as%20a%20leader%20to%20specific%20groups/">
320338
<span style="display: block; text-align: right;">2024-01-14
321339
<h3>Post as a leader to specific groups</h3></span>
322340
<p>The leadership feature in Viva allows you to identify the leaders in your organization and the leaders to reach their targeted audiences.</p>
323341
</a></li>
324342

325-
<li style="--i: 16"><a href="https://powershellscripts.github.io/articles/en/Viva/Add%20Viva%20Engage%20to%20your%20SharePoint%20pages/">
343+
<li style="--i: 20"><a href="https://powershellscripts.github.io/articles/en/Viva/Add%20Viva%20Engage%20to%20your%20SharePoint%20pages/">
326344
<span style="display: block; text-align: right;">2023-11-04
327345
<h3>Add Viva Engage to your SharePoint pages</h3></span>
328346
<p>Viva Engage Conversations web part allows page viewers to participate in discussions without exiting the SharePoint environment. Use it to replace your old comments section with Viva Engage discussions.</p>
329347
</a></li>
330348

331349

332-
</div>
350+
<li style="--i: 12"><a href="https://powershellscripts.github.io/articles/en/Server/Office Online Server Troubleshooting in Sharepoint Environment/">
351+
<span style="display: block; text-align: right;">2023-11-05
352+
<h3>Office Online Server Troubleshooting in Sharepoint Environment</h3></span>
353+
<p>Office Online Server Troubleshooting in Sharepoint Environment</p>
354+
</a></li>
355+
356+
357+
<li style="--i: 12"><a href="https://powershellscripts.github.io/articles/en/InformationProtection/Audit your sensitivity labels with Powershell/">
358+
<span style="display: block; text-align: right;">2022-08-05
359+
<h3>Audit your sensitivity labels with Powershell</h3></span>
360+
<p>Audit your sensitivity labels with Powershell</p>
361+
</a></li>
362+

0 commit comments

Comments
 (0)