We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76a0c80 commit 2b07dd4Copy full SHA for 2b07dd4
OneDrive/OneDrive-SetFilesOnDemandToCloudOnly.ps1
@@ -1,3 +1,18 @@
1
+<#
2
+.SYNOPSIS
3
+The script sets all files in OneDrive path to Cloud Only
4
+
5
+.DESCRIPTION
6
+Use this script to free space on your local system
7
8
+.NOTES
9
+ Version: 1.0
10
+ Author: Manuel Winkel <www.deyda.net>
11
+ Creation Date: 2023-08-22
12
+ Purpose/Change:
13
+#>
14
15
16
get-childitem $ENV:OneDriveCommercial -Force -File -Recurse -ErrorAction SilentlyContinue |
17
Where-Object {$_.Attributes -match 'ReparsePoint' -or $_.Attributes -eq '525344' } |
18
ForEach-Object {
0 commit comments