Prompt for a computer asset name & move a computer to a new OU in Active Directory using powershell.

Prompt for a computer asset name & move a computer to a new OU in Active Directory using powershell. Change the AD domain and Local Admins group to your chosen target. $name = Read-Host -Prompt ‘Enter the users asset tag that you want to move in AD’ Get-adcomputer $name | Move-ADObject -TargetPath “OU=Local Admins,OU=Devices,DC=blog-adigraham,DC=co,DC=uk”

Read More →

Reset Mysql root password in Mysql Server 5.7

MySQL 5.7: 0) shut down service mysql57 1) go to C:\ProgramData\MySQL\MySQL Server 5.7, note that ProgramData is a hidden folder 2) looking for file my.ini, open it and add one line skip-grant-tables below [mysqld],save [mysqld] skip-grant-tables 3) start service mysql57 4) by right, you can access the database, run mysql 5) and use the query […]

Read More →

Export Vasco & Digipass users details from Active Directory

This will export the Username, Member OU & Vasco number. Download the Quest ActiveRoles Management Shell for Active Directory shell Save this script into your hard drive as AD_Vasco_Users.ps1 Get-QADUser -SizeLimit 0 -IncludedProperties ‘vasco-LinkUserToDPToken’ -ldap ‘(vasco-LinkUserToDPToken=*)’ | Select-Object Name,’vasco-LinkUserToDPToken’, @{n=’VascoID’;e={[regex]::match($_.’vasco-LinkUserToDPToken’,’^CN=([^,]+)’).groups[1].value}} | export-CSV C:\Temp\Vasco_Users.csv Open the Quest ActiveRoles Management Shell for Active Directory shell shortcut as Administrator Go to […]

Read More →

Error 17022 when deploying Microsoft Office 2010 SP2 (KB2687455 ) with SCCM 2012

When deploying through SCCM 2012 via software updates for Office 2010 SP2 (English language only )I found that although the SP2 was installing and finishing, the status in the SCCM Deployment was showing as:- 17022 – Success: Reboot flag set All error codes here – https://technet.microsoft.com/en-gb/library/cc179058%28v=office.14%29.aspx To fix this, I reran the deployment and selected English, […]

Read More →

Convert a Office 365 mailbox to a shared mailbox

Reset the password of the domain administrator account for the client you are working on in the Office 365 portal by logging in here in the correct company (domain) https://portal.microsoftonline.com/UserManagement/ActiveUsers.aspx Requirements Before installing the Windows PowerShell Module you must install Microsoft Online Services Sign-In Assistant.http://go.microsoft.com/fwlink/?LinkId=286152  Download Windows Azure AD PowerShell modulehttp://technet.microsoft.com/en-us/library/jj151815.aspx Click Start > All […]

Read More →

Speed up a wireless-n network in your home & office

If you have a wireless-n router and a wireless-n adapter / card or other device (mobile phone, tablet etc.) then carry on reading! **Caution – The following guide may disconnect all your wireless network attached devices** Firstly do a speedtest on the device with the wireless-n network card – I do x3 and take the average download […]

Read More →
Follow

Get every new post on this blog delivered to your Inbox.

Join other followers: