Savebatchfile
Batch File

Open multiple Internet sites using Batch File

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: […]

Net User command
Batch File

Net User command

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 […]

DEMOTE ActiveDirectory
Powershell

Demote Active Directory using PowerShell

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 […]

Powersherll
Powershell

Export to CSV all servers in Domain

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 […]

Powersherll
Powershell

Useful PowerShell commands

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 […]