Coding with kids – Sun, Earth and Moon orbit simulator in Scratch
The End Goal Getting setup Head over to Scratch Delete the default “Sprite1” in the bottom right Add a background to the stage. I used one called “Stars” The Sun The Earth The Moon
The End Goal Getting setup Head over to Scratch Delete the default “Sprite1” in the bottom right Add a background to the stage. I used one called “Stars” The Sun The Earth The Moon
Recently I had the need to change all users email addresses in an Active Directory domain from one domain name to another. The below PowerShell is how I did it. The customer was using Office 365 with AD Connect. So, …
The following is an example PowerShell script to connect to a Microsoft SQL Database and dump the results of a query into a CSV file. You will need to change the connections variables at the top of the script along …
In this post I will share a short bit of PowerShell to discover empty, used Active Director groups. This post will be short and to the point! Pre-requisites Before you can use the Active Directory Cmdlets you will either need …
Overview The below PHP script is an example of how to connect to Active Directory via LDAP and retrieve a list of users’ details. If instead, you are looking to retrieve information on computer accounts in the domain. Take a …
The below bit of PowrShell will return the uptime and last boot time stamp of a remote Windows computer. Change the $server variable as needed.
Overview I have a Citrix farm and have written the below PowerShell script to automatically reboot the servers when there are no active connections. Usage The script would need to be scheduled to run on a Citrix server with the …
The below script with change the owner of a group, giving the new owner admin rights to the group. Connecting to Office 365 Changing the group owner using Set-DistributionGroup Change the GroupAlias and NewOwnersEmailAddress to the relevant values.
The following PowerShell snippet can be used to to export the results of a message trace, unfortunately at the time of writing the Office365 portal does not allow you to do this in the GUI. Connecting to Office365 via Powershell …
The below VBS script will run a command on all computers in the Active Directory OU defined by LDAPPath = The script depends on the Windows Sysinternals tool PsExec, you will need to download and exact PsExec and place in …