In this chapter we are going to explain a little bit what the host file does and how we can make use of it via this powershell 1 liner. Possible uses: Testing a new Server or connectionTesting resolution problems Quick fixes for DNS issues in your enviorment A little bit of history ( wikipedia ) … Continue reading Edit host file powershell 1 Liner – Windows OS
Tag: powershell
Import & Export Transport rules in 365 Exchange
On this article we will learn how to export and import transport rules in our exchange What Transport rules do? You can use mail flow rules (also known as transport rules) to identify and take action on messages that flow through your Exchange Online organization. Mail flow rules are similar to the Inbox rules that are available in Outlook and Outlook on the web … Continue reading Import & Export Transport rules in 365 Exchange
Powershell Remote desktop sessions
This is a quick made script in 1 line that performs a query to a given list of servers where remote desktop is enabled This is an alternative of using graphical mode on a broker I't can be upgraded next to identify session and log off the desired user ( future post ) The script … Continue reading Powershell Remote desktop sessions
Restore Windows 10 Store APP via Powershell
If you have lost you Windows10 Store , there is a quick fix that can bring it back. We will not require admin rights for this fix and is advisable to do it with user permissions as W10 apps mainly work via user context The first that we will do is search for our package … Continue reading Restore Windows 10 Store APP via Powershell
Set Ownership Script powershell
I have found on technet an interesting script for taking ownership of the folders here, many thanks to Boe Prox for this amazing function In my case I had to use the script as the company I work for decided to give "Full control" to the users on several folders and that induced a problem … Continue reading Set Ownership Script powershell