We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fb694a commit 7fd543eCopy full SHA for 7fd543e
outlook/get_outlook_forwarding_rules.ps1
@@ -60,4 +60,9 @@ ForEach ($store in $namespace.Stores) {
60
}
61
62
63
-$records | ConvertTo-Json -Depth 10
+
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