MEA Center of Expertise

We are a 120+ technology enthusiasts helping Microsoft customers around Middle-East & Africa region. We bridge Microsoft tools & technologies to their businesses.

Browse by Tags

Related Posts
  • Blog Post: PowerShell script helps you to configure static IP on localmachine

    This PowerShell script helps you to configure static IP on localmachine, just copy the code and past it in txt file then rename it to anyname.ps1 “static.ps1″ Don’t forget to make executionpolicy to be remotesigned using Set-ExecutionPolicy remotesigned -Confirm:$false -Force but...
  • Blog Post: PowerShell Scripts - Rename Local computer name and restart

    This script will take affect after restart [sourcecode language="powershell"] $NewName="windowsserver" $ComputerInfo = Get-WmiObject -Class Win32_ComputerSystem $ComputerInfo.Rename($NewName) Restart-Computer [/sourcecode]
  • Blog Post: List Connections and Users connected to Lync Registrar Pool

    The following script could be copied to %windir%/system32 as connections.ps1 in order to run it from Lync powershell directly. It will list all the number of connectios to the registrar pool; i have added Listing all user aliases connected to Lync within the main Function. #################################################################################################...
  • Blog Post: PowerShell script list and uninstall programs remotely or local machines using Primalforms to

    #Generated Form Function function GenerateForm { ######################################################################## # Code Generated By: SAPIEN Technologies PrimalForms (Community Edition) v1.0.8.0 # Generated On: 4/15/2011 9:34 PM # Author By: Raymond ########################################################################...
  • Blog Post: Compare Hotfixes installed on 2 computer using PowerShell

    function hotfixcompare ($computer1, $computer2) { $node1 = Get-HotFix -ComputerName $computer1 $node2 = Get-HotFix -ComputerName $computer2 Compare-Object -ReferenceObject $node1 -DifferenceObject $node2 -Property HotFixID } hotfixcompare ex01 lyncse |sort -Property sideindicator Description...
  • Blog Post: Lync Custom States for TSPs ;)

    Lync Custom availability states Install The registry to add the TSP states for Lync Regards
  • Blog Post: Outbound call routing time condition

    In order to create an outbound route policy based on a time condition in order to prevent certain users from making PSTN calls after working hours you need to do them with powershell script and windows task scheduler so the example below shows that i created two voice policies one called "WorkTime...
  • Blog Post: Powershell script – Join domain

    This script helps to join the machine to the domain local and if you want to do it remotely you can combined this script using invoke-command $credential = New-Object System.Management.Automation.PsCredential("coex\administrator", (ConvertTo-SecureString " P@ssw0rd < mailto:P@ssw0rd >" -AsPlainText...