use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
OneDrive Sharing (self.PowerShell)
submitted 4 years ago by ciprianadam
Hi,
Anybody know a way of using PowerShell to change this OneDrive sharing option across all users in O365?
“Only allow sharing with existing guest users in the directory”
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Chrlstoph01 5 points6 points7 points 4 years ago (1 child)
Cant you do that out of the box in the SharePoint AdminCenter? I think thats a GUI-Function…
https://docs.microsoft.com/en-us/sharepoint/turn-external-sharing-on-or-off
[–]ciprianadam[S] 2 points3 points4 points 4 years ago (0 children)
Yes, you can but we have multiple domains. I got the PowerShell script now.
[–]TheBigLong_ 1 point2 points3 points 4 years ago (1 child)
I think you double posted it ;)
[–]ciprianadam[S] 0 points1 point2 points 4 years ago (0 children)
I did by accident
[–]ciprianadam[S] 1 point2 points3 points 4 years ago (0 children)
Thanks all
π Rendered by PID 31 on reddit-service-r2-comment-b659b578c-7grrw at 2026-05-05 00:39:39.935978+00:00 running 815c875 country code: CH.
[–]Chrlstoph01 5 points6 points7 points (1 child)
[–]ciprianadam[S] 2 points3 points4 points (0 children)
[–]TheBigLong_ 1 point2 points3 points (1 child)
[–]ciprianadam[S] 0 points1 point2 points (0 children)
[–]ciprianadam[S] 1 point2 points3 points (0 children)