12345678$text = ‘@ This is an example on how you can have multiple lines. You can also use indent. Perfect for things like SQL query etc ‘@
Example on how you can use Powershell to create Schedule Task
It handle the password in a secure way. Look at this as a template and do the necessary changes.
Allow add/remove members in an AD group
By doing this programmatically you can give multiple users or group(s) the right to add or remove users from an AD group. If you do this in ADUC you can only give the user you set as ‘Managed by’ the permissions.
Get GPO link with Powershell
There is no Get-GPLink cmdlet, but this script will help you. https://github.com/GoateePFE/GPLinkReport
ConfigMgr Client Health
A good script to verify your SCCM client https://gallery.technet.microsoft.com/ConfigMgr-Client-Health-ccd00bd7
Powershell Team picker
Just a quick example on how you can create an auto picker to create two teams from a list.
Create HTML table Powershell
In this example you get a status report on the computer.
Where-Object match array
How to use where-object match one of multiple values from an array. You do not have to use an array. You can just type all the values in a string separated with | between each word(s). Note : Do not have any spaces before or after the pipe character, it is an exact match.
Powershell one liners collections – hashtables, arrays and strings
An example on how you can use split and join to get the result you need.