Skip to content

Commit 7fd543e

Browse files
committed
Automatic commit Sat May 28 05:25:19 PM EEST 2022
1 parent 9fb694a commit 7fd543e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

outlook/get_outlook_forwarding_rules.ps1

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,9 @@ ForEach ($store in $namespace.Stores) {
6060
}
6161
}
6262

63-
$records | ConvertTo-Json -Depth 10
63+
64+
$records | ConvertTo-Json -Depth 10
65+
66+
# Uncomment the following lines and set the proper path to write the output into a file
67+
# $outfile = join-path -path "\\Tcom2\shared" -childpath $($env:COMPUTERNAME + "-" + $(Get-Date -UFormat "%Y-%m-%d") + ".json")
68+
# $records | ConvertTo-Json -Depth 10 | Set-Content $outfile

0 commit comments

Comments
 (0)