From the Azure Active Directory command line:Set-MsolUser -UserPrincipalName "email@example.com" -ImmutableId "123xyz"
Set to null:Set-MsolUser -UserPrincipalName "firstname.lastname@example.org" -ImmutableId "$null"
First, get the RequestGUID for the import request (because the ImportRequest name is different from the RequestGUID, even though they look similar):
Get-MailboxImportRequest | ft Mailbox,RequestGUID
Then get the detailed report on that import:
Get-MailboxImportRequestStatistics -Id (The RequestGUID) -IncludeReport |fl
From an elevated command prompt:
rd /s c:\$Recycle.Bin
For tools that use WMI/RPC/DCOM.
netsh advfirewall firewall set rule group="Windows Remote Management" new enable=yes
Check the sessions on a remote server:
Kill the session with ID "4":
rwinsta 4 /server:myservername
Because Microsoft couldn't be bothered putting a link to it in the Small Business GUI:
Check the current proxy settings:
netsh winhttp show proxy
Set the proxy settings (bypassing local addresses):
netsh winhttp set proxy myproxyserver:8080 "<local>"
Reset/remove the proxy settings:
netsh winhttp reset proxy
If you've cloned a Windows Server 2012 R2 machine, you may need to change its SID:
Ta, M Hamizi.
Connect to Office 365 (MSOL) PowerShell:
Connect Remote Exchange PowerShell for O365:
Once finished, remove your session:>
To fix the seemingly-random "The trust relationship between this workstation and the primary domain failed" error, you can remove the PC from the domain, then re-add it. Sometimes doing this is a PITA.
You can often fix the error using netdom.exe with the below steps. You can do it through your remote access utility, or by logging in as a local administrator.
Run this command on the remote computer to enable file and print sharing (all one line):netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
Using OS X, opening the Adobe CS5 applications may prompt you to install Java 6. To bypass this prompt without installing Java, make sure both these directories exist:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/
You can create them via Terminal using the following commands:sudo mkdir -p /System/Library/Java/JavaVirtualMachines/1.6.0.jdk
Thanks to Michael Stassen.
Sometimes the Sony Music app gets confused and displays incorrect album art. Using the File Commander app, reset the cache by deleting these two folders:\Android\data\com.sonyericsson.music\files\cache\ContentCache
To convert an MKV to MP4:C:\Program Files\WinFF\ffmpeg.exe -i input.mkv -c copy output.mp4
To extract the audio from an MP4:C:\Program Files\WinFF\ffmpeg.exe -i use-audio.mp4 -vn -acodec copy audio.mp4
To replace the audio in an MP4:C:\Program Files\WinFF\ffmpeg.exe -i use-video.mp4 -i audio.mp4 -vcodec copy -acodec copy -map 0:0 -map 1:0 output.mp4
Run this command on the remote computer to allow viewing of its Windows Event Logs from another computer (all one line):netsh advfirewall firewall set rule group="Remote Event Log Management" new enable=yes