PowerShell Script Blocks In this tutorial we will see about PowerShell Script Blocks. A PowerShell scripting block is a list of statements and expressions that you are able to use them as a single unit. When you setup a script block, you can configure it to accept arguments. A script block can ...
PowerShell Remoting
PowerShell Remoting In this tutorial we will see about PowerShell Remoting and its use. Using Windows PowerShell, we are able to connect on remote computers / server and run commands on them. As we have discuss in Windows PowerShell Sessions – PSSessions tutorial, we are able to create ...
Windows PowerShell Sessions – PSSessions
PowerShell PSSessions In this tutorial we will see about Windows PowerShell Sessions - PSSessions. We will see what are those PSSession, and how and when we need to use them. It is important to know why you need to use them. After you go through this tutorial it would be good to work with them, in ...
Skype for Business Delegated Permissions
Skype for Business Delegated Permissions Scenario: Skype for Business Delegated Permissions The script that you will see below is about providing delegated permissions to IT Administrators in Skype for Business. Lets see first few details and what you need to know about it. Request I had a ...
PowerShell Force Password Change Multiple Users
PowerShell Force Password Change Multiple Users PowerShell Force Password Change Multiple Users Scenario: A friend of mine told that he has a task to do and it will take time to perform it. I have asked him what is was it and he told me that he has to ensure that all users in his Active Directory ...
PowerShell Active Directory Delegation – Part 3
PowerShell Active Directory Delegation - Part 3 Scenario This is the last part of the series PowerShell Active Directory Delegation. In the previous parts, we have discussed how we can have Active Directory delegation, so we will give access to the administrators without the need of providing ...
Powershell Active Directory Delegation – Part-2
PowerShell Active Directory Delegation - Part 2 Scenario: PowerShell Active Directory Delegation - Part 2 In Part 1 of this series we have discussed about getting the information from Active Directory. We have created our arrays to keep the information that we will need. We ...
User Not Syncing to Office 365
User Not Syncing to Office 365 Scenario: User Not Syncing to Office 365. Are you using AD Connect to synchronize your users in Azure AD? Every time there is a change on a user, AD Connect will synchronize the changes based on the cycle that you have configured. Some times there are errors ...
Create new OU in AD using PowerShell
Create new OU in AD using PowerShell Scenario: Create new OU in AD using PowerShell This time we will see a very simple script that performs changes in Active Directory. The script allows you to perform one single task, which is to create a new Organizational Unit in Active Directory. ...
PowerShell script to get computer information
PowerShell script to get computer information Scenario: PowerShell script to get computer information. When there is a support case, the first thing that you need to do it to gather as much information as possible related to the issue, so you will start troubleshooting. The information that ...