Get a list of addresses, c:\export to smtp.csv
Get-Mailbox -ResultSize Unlimited |Select-Object DisplayName,ServerName,PrimarySmtpAddress, @{Name=“EmailAddresses”;Expression={$_.EmailAddresses |Where-Object {$_.PrefixString -ceq “smtp”} | ForEach-Object {$_.SmtpAddress}}} | Export-CSV c:\smtp.csv -NoTypeInformation
Thursday, December 3, 2015
Thursday, August 6, 2015
Change Windows Server 2012 product key
Open Search
Type Slui.exe 0x3
Tap or click the Slui.exe 0x3 icon
Type your product key in the Windows Activation window, and then click Activate
Type Slui.exe 0x3
Tap or click the Slui.exe 0x3 icon
Type your product key in the Windows Activation window, and then click Activate
Tuesday, July 28, 2015
Dell service tag from Xen host
SSH to the host and use this command:
dmidecode -s system-serial-number
dmidecode -s system-serial-number
Friday, May 22, 2015
Outlook 2010 autocomplete data (formerly the NK2 file)
C:\Users\%username%\AppData\Local\Microsoft\Outlook\RoamCache
Stream_Autocomplete_0_{a long string of numbers/letters}.dat
Stream_Autocomplete_0_{a long string of numbers/letters}.dat
Thursday, May 21, 2015
Windows Registry
Redirect user shell folders
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\
Resolve DNS server issues
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DnsClient
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\
Resolve DNS server issues
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DnsClient
Thursday, February 26, 2015
Print Management Missing from Home Premium
Simple workaround if you need to remove printer drivers:
Run 'printui /s /t2' and select the driver you would like to remove.
Run 'printui /s /t2' and select the driver you would like to remove.
Labels:
Windows
Wednesday, February 11, 2015
Reclaiming disk space from System Volume Information
To see the space allocated: vssadmin list shadowstorage
To see the current restore information: vssadmin list shadows
To resize the maximum allocated space: vssadmin resize shadowstorage /on=[X]: /For=[X]: /maxsize=[X]GB
Example: vssadmin resize shadowstorage /on=c: /for=c: /maxsize =10GB
To see the current restore information: vssadmin list shadows
To resize the maximum allocated space: vssadmin resize shadowstorage /on=[X]: /For=[X]: /maxsize=[X]GB
Example: vssadmin resize shadowstorage /on=c: /for=c: /maxsize =10GB
Labels:
Microsoft
Subscribe to:
Posts (Atom)