Get-Execution Policy & Set-Execution Policy
Hi everyone, let’s talk a little bit really little =] about Execution Policy, to be more precise, just focus on 4 options that we have in the policy which are: What do the following options mean? […]
Hi everyone, let’s talk a little bit really little =] about Execution Policy, to be more precise, just focus on 4 options that we have in the policy which are: What do the following options mean? […]
I want to introduce you a good way to export all Windows Updates that installed on your computer using WMIC and then export the data to CSV File. When I was asked to perform this […]
As most of you already noticed, Microsoft has been installed a new application on Windows 10 which may be not necessary for some peoples, for example, edge, Calendar, Outlook, Conrana, and etc. There are some […]
When IT guys added machines to the domain as you guys know that by default, all computers automatically located on Computer container which mean that until they will not move the computer to their OU […]
How to open multiple Internet sites using Batch File? Using the following command you will be able to create multiple websites: “C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” “https://www.pelegit.co.il/” “http://www.microsoft.com/” “https://www.youtube.com/channel/UC5kCjoAz_PznscR391MW0Rw/videos/” “http://www.cisco.com/” Save the notepad file as “bat” extension: […]
I would like to introduce you a useful command “Net user”. The net user command is the command which allows us to get some important information about a user and even we can make some […]
In this article, I am going to show you how to delete the specific email that from a mailbox that already sent. HR called me and asked if I can delete specific email from all […]
Quick guide: How to demote domain controller by Powershell commands: The first step is to import module: import-module ActiveDirectory Uninstall -ADDSDomainController -ForceRemoval -DemoteOperationMasterRole We have to confirm with Y and then the server will […]
Powershell commands: Using this article you will be able to export all servers on your domain. I will use the following attributes: 1.OperatingSystem 2.OperatingSystemHotfix 3.OperatingSystemServicePack 4.OperatingSystemVersion The query script is: Get-ADComputer -Filter * -properties | Format-list […]
Basic powershell commands: Create new User: new-aduser (name User) -path (details server and OU/CN) Create new Ou: New-ADorganizationalUnit (Name Ou) Create a new computer: New-ADcomputer (name) Export information to CSV: get-aduser -Filter * -properties * | export-csv […]