O365-PowerShell login with saved credential

Please refer to the following steps to connect to Office 365 using PowerShell Go to Office 365 DEMO and sign up for 90 Days Trial Account if you are Microsoft Partner Download Microsoft Online Services Sign-in Assistant for IT Professionals RTW-msoidcli_64.msi and install it Run “Install-Module MSOline” to install Windows Azure AD Module Prepare the … Read more

PowerShell-Import & Export Exchange 2013 PST

Please refer to the following PowerShell Script we use to Import & Export Exchange 2013 Mailbox to local PST as 1 of our Exchange 2013 Migration Approach Export Mailbox to PST New-MailboxExportRequest -Mailbox $Mailbox -FilePath “\\EX01\M$\PST\$Name.pst” Import PST to Mailbox New-MailboxImportRequest -Mailbox $Mailbox -FilePath \\EX01\M$\PST\$mailbox.pst Monitor the Export / Import Progress Get-MailboxExportRequest | Get-MailboxexportRequestStatistics Get-MailboxImportRequest … Read more

PowerShell-Bulk Export & Import of X500

One of the most important thing to take care is the X.500 Address when you are doing Direct Cut Over migration from Microsoft Exchange Server to a new Exchange Server in different AD Domain or Office 365 The X.500 Address is used by Microsoft Outlook to identify users (NOT SMTP Address) within Exchange Organization (Refer … Read more

PowerShell-Desktop Wallpaper based on Resolution Size

We had a new request from our client to apply the desktop wallpaper based on the Resolution of the laptops to ensure that the wallpaper is perfectly maximize on the screen Please refer on the following steps on how we archive this by using PowerShell Script in Logon Script We will prepare to copy the … Read more

Generate Random Password for Bulk Office 365 User Provision

Please refer to the following steps on how to we generate Random Password for bulk Office 365 User Provision rather than using the same password for all the newly provisioned Office 365 Users for first login due to security concern We will refer to the ASCII table (Refer to the Table below) to identify the … Read more

Update Windows Management Framework 5.0 on Windows 2012 R2

Please refer to the following tutorial on how to Update Windows Management Framework 5.0 on Windows 2012 R2 in my lab I would like to take advantage of the following new features in WMF5 Software Discovery, Install and Inventory with PackageManagement PowerShell Module Discovery, Install and Inventory with PowerShellGet PowerShell Script Discovery, Install and Management … Read more

PowerShell Remoting to Windows 2012R2

Please refer to the steps below on how to PowerShell Remoting to Windows 2012R2 Server Configuration on Windows 2012R2 Server 1. The WinRM service is running (By Default) 2. Enable PowerShell Remoting with Enable-PSRemoting -force Configuration on Windows 10 Machines (Non-Domain Joined) 1. Start WinRM Service Get-Service WinRM | Start-Service Allow Windows 10 to access … Read more

Chocolatey Package Manager in Windows 10

Please refer to the following simple guide on how to use Chocolatey Package Manager in Windows 10 Install Chocolatey in Windows 10 Open PowerShell / PowerShell ISE with Administor Right Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1’)) Verify Choco version installed PS C:\Windows\system32> choco Chocolatey v0.10.11 Install Applications from https://chocolatey.org/ #Install Applications choco install … Read more