Tags » PowerShell

Exchange Online and Microsoft.Exchange.Data.SharingPolicyAction is invalid error on Get-MailboxFolderPermission


Recently we got an issue on Exchagne Online, for one mailbox (yes 1! :)) we were not able to properly read permissions, the error was: 135 more words


Changing SharePoint Search Preferences from Code

In my recent post I’ve illustrated with C# and PowerShell examples, how to read search preferences info from code, both for the current user as well as for other users. 1,392 more words


Querying SharePoint Search Preferences from Code

Recently a user complained, that he is not able to open office documents from the SharePoint portal of the company when working at home. He attached a screenshot of the error message in the browser to his mail. 931 more words


PowerShell -Filter vs. Where-Object - what is the main difference?

Well – timing. For instance if we would like to ask AD for certain user accounts,  -Filter will process the data on the remote computer (domain controller) and will send us only the filtered results, whilst Where-Object (?) will sends us all the results, and “filtering” takes places on our end. 63 more words


.pfx to base64 to .pfx

Issue: We don’t want to store our .pfx certificates in any Build servers or in code base.

Solution: Maintain .pfx certificates in the base64 encoded format on Build servers and then generate .pfx during deployment phase. 94 more words


Git Integration with VS Code: Part 3 - Installing Visual Studio Code

This blog post picks up where Part 2 – Installing PowerCLI and Git left off. Now that we have some momentum going with this Git Integration with VS Code blog series, let’s keep it going with… 211 more words


How to spoof a hostname for Invoke-WebRequest (without messing around in the HOSTS file)

Despite moving on to Docker/Kubernetes and therefore Linux, I still get PowerShell questions from colleagues. This particular case was a colleague who wanted to test that each of several webservers behind a load balancer was properly processing a SAML request, without having to change his HOSTS file every time. 262 more words