How to Automate Software Package Installations in Server 2016 via PowerShell

Here are some of the ways you can automate software package and modules installations in Server 2016, using some of the new package management cmdlets that come with PowerShell. With the introduction of services like NuGet, Choclatey, PSGet and Package Manager, Windows finally has a great way of delivering software packages and modules directly from the internet or through an […]

Read more

Join Computer to Domain with Desired Computer Name and OU

Step #1: This is the simplest method to add a computer to a domain. In this example you will be prompted for credentials followed by the required reboot. PowerShell   1 2 Add-Computer -DomainName “your.domain.here” Restart-Computer Step #2: If you require an automated script without prompting the user for credentials you can provide the user account with rights to add […]

Read more

How To Build An Active Directory Site Inventory Report With PowerShell

If you’re having to deal with hundreds of subnets and multiple Active Directory sites, this PowerShell script will allow you to quickly build an inventory report listing all of your AD sites and subnets. Building An AD Site Inventory Report To do this, you’ll first need to ensure you’re either on a Windows Server 2008 R2 (or higher) domain controller […]

Read more

Group Policy: Deploy a Google Chrome Extension

Google provides an option between an ADM file (windows 2003 server) and an ADMX file (windows 2008). Once imported, the ADM/X file will add additional options to your Group Policy Object. Click here to download the ADM file (Server 2003) Click here to download the ADMX file (Server 2008) Please open your Group Policy Management console. Right click your domain and select […]

Read more

GAM – change Google licenses in bulk

If you need to change Google Licenceses from Basic to Business do the following.   Export user license list.   gam print users ou licenses >> licensefile.csv    Run GAM commands to change the licences. Gam commands to run after lists are separated   Gam CSV deskless.csv gam user ~primaryEmail update license gsuitelite from gsuitebusiness  Gam CSV business.csv gam user ~primaryEmail update license gsuitebusiness from gsuitebasic  

Read more

How to Get Weather Forecast In PowerShell

We will use an open source web service wttr.in to fetch the weather forecast. Wttr.in can be used not only to check the weather, but also for some other purposes. For example, you can see the current Moon phase. In PowerShell, there is a special alias “curl” for the built-in cmdlet Invoke-RestMethod, which can retrieve the URL contents from the PowerShell console. […]

Read more

PowerShell Admin Tasks: Real-Time IT Dashboard

Creating a real-time IT dashboard is essential for IT professionals for managing their environments and to be proactive. Every sysadmin should be able to monitor their environment and should send reports or dashboards to the top management on a regular basis. Of course, you can build your own dashboards using a monitoring tool, but you don’t always have a PowerShell […]

Read more

How to connect to Microsoft Azure using Powershell

Install the following components on your system to connect to your Microsoft Azure subscription using PowerShell: Microsoft Online Service Sign-in Assistant for IT Professionals RTW Select the appropriate version of your OS Azure Active Directory Module for Windows PowerShell (64-bit version) The 32-bit version is discontinued by October 20, 2014. You must be a tenant administrator (i.e. company administrator, global administrator) […]

Read more

How to Import a Group Policy Object’s Settings into Another Group Policy Object

You may sometimes find it necessary to copy Group Policy Objects (GPOs) from one Active Directory domain to another. This can be useful when you want to apply the same policy settings to groups of users or computers in different domains within a multi-domain forest, or when you are performing a migration from one domain to another. GPOs can be backed […]

Read more
1 10 11 12 13 14 71