Script to offboard resigned employee in a hybrid environment
We have an existing decomission script at work but I found this one online and want to add a few items from here. This script...
how to delegate rights to manage printers
Here are some helpful post on setting up delegation on print servers, this includes some powershell scripts to help.
Setting the Timezone of Exchange Resource Mailboxes
Ran into this issue at work the other day, where the conference rooms were grayed out during part of the day. After a little reach...
How to configure powershell for o365
Everytime you get a new computer you have to download the latest powershell modules for o365 and it seems like they all have a different...
PowerShell setup in VSCode
Moving to my new Microsoft surface and setting up VSCode again to use with powershell. I'm documenting my setup in this blog post so its...
How to enable teams message translation
https://blog.valeconsulting.co.uk/2018/07/18/microsoft-teams-adds-message-translation-here-is-how-you-turn-it-on/ I need to do this when I return to work after vacation 😀 Set-CsTeamsMessagingPolicy -Identity Global -AllowUserTranslation $true
Re-join a computer to the domain
When a computer loses its domain membership you can now use powershell to reset computer connection. Log in with a local account to the computer...
List an users groups with powershell
I often need to collect the groups an user in part of, sometime because of a decommission others just for documentation. Taking screenshots of an...
Comment multiple lines of code in ISE
We have all been there, trouble shooting a script and you need to comment out a group of lines quickly. Most IDEs have this feature...
Quick way to set the powershell ExecutionPolicy for the session
On my workstation I've set the powershelle executionpolicy to unrestricted. But there are times I need to run a script directly from a server and...