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
Showing posts with label Microsoft. Show all posts
Showing posts with label Microsoft. Show all posts
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
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
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
Monday, December 8, 2014
Wednesday, October 15, 2014
MS Command Prompt
| Arp | Allows viewing and editing of the Address Resolution Protocol (ARP) cache. |
| Hostname | Displays the host name of the computer. |
| Ipconfig | Displays the current TCP/IP configuration for both IPv4 and IPv6. Also used to manage Dynamic Host Configuration Protocol (DHCP)-allocated IPv4 address configurations, display or flush the DNS client resolver cache, and register DNS names. |
| Nbstat | Displays NetBIOS over TCP/IP (NetBT) configuration and allows management of the NetBIOS name cache. |
| Netsh | Configuration tool for many network services. For each network service, there is a context containing commands specific for that service. For the netsh interface ip and netsh interface ipv6 contexts, displays and administers TCP/IP protocol settings on either the local computer or a remote computer. |
| Netstat | Displays protocol statistics and information on current TCP connections. |
| Nslookup | Performs DNS queries and displays the results. |
| Ping | Sends Internet Control Message Protocol (ICMP) Echo or Internet Control Message Protocol for IPv6 (ICMPv6) Echo Request messages to test reachability. |
| Route | Allows viewing of the IPv4 and IPv6 routing tables and editing of the IPv4 routing table. |
| Tracert | Sends ICMP Echo and ICMPv6 Echo Request messages to trace the network route taken by IPv4 or IPv6 packets to a specific destination. |
| Pathping | Sends ICMP Echo or ICMPv6 Echo Request messages to trace the route an IPv4 or IPv6 packet takes to a destination and displays information on packet loss for each router and link in the path. |
| SNMP service | Provides status and statistical information to Simple Network Management System (SNMP) management systems. |
| Netdiag | Runs a series of diagnostic tests on network components. Netdiag is installed as part of the Windows XP and Windows Server 2003 Support Tools in the Support\Tools folder of the Windows XP or Windows Server 2003 product CD-ROM. |
| Telnet | Tests TCP connection establishment between two nodes. |
| Ttcp | Listens for and sends TCP segment data or UDP messages between two nodes. Ttcp.exe is provided with Windows XP Service Pack 2 in the Valueadd\Msft\Net\Tools folder of the Windows XP Service Pack 2 CD-ROM |
wmic useraccount get name,sid
Get Dell service tag
wmic bios get serialnumber
wmic bios get smbiosbiosversion
Remote shutdown
shutdown /r /m \\ComputerName /c "Comment" /d [u|p] <xx>:<yy>
Local user
net user username password
Active user
net user <username> /active:yes
Time
net time \\<time server> /set /yes
Install schema master (Domain Controller)
regsvr32 schmmgmt.dll
Vssadmin
RDP
mstsc /v:[computername or IP] /console
format X: /P:7
Labels:
Microsoft
Friday, September 19, 2014
Command Line Hack for: "Terminal Server Has Exceeded the Maximum Number of Allowed Connections"
query session /server:[servername]
reset session [ID] /server:[servername]
reset session [ID] /server:[servername]
Labels:
Microsoft
Tuesday, July 1, 2014
Error when launching Exchange Management Console
Error reads: "...The system load quota of 1000 requests per 2 seconds has been exceeded. Send future requests at a slower rate or raise the quote for this user..."
Run command prompt as administrator.
Use IISRESET command.
After IIS restarts, try opening EMC again.
Wednesday, May 21, 2014
An AD setting that can make or break Active-Sync to your mobile device
Open Active Directory Users and Computers
Click View menu
Select Advanced Features
Locate the user in Active Directory, select Properties on the user profile
Open the Security tab
Click Advanced button at the bottom of the Security tab
Make sure "Include inheritable permissions from this object's parent" is checked
Saturday, May 10, 2014
How to crack a Windows login
command: net user [username] [password]
here's a method that works
boot the computer into a mode that gives you access to the command prompt. if you use a windows installer, select the repair computer option
a the command prompt, change directory to c:\windows\system32
copy “cmd.exe” to replace “utilman.exe” using the following commands:
move utilman.exe utilman.bak
copy cmd.exe utilman.exe
reboot the computer
boot the computer in normal mode, at the windows login screen use crtl+alt+del to open the windows login dialog, then use windowskey+u and the command prompt should open
in the command prompt window type the following command:
net user [username] [password]
make [username] the name of the administrator account, and [password] will be your new password
close the command prompt window and login with your new password
Subscribe to:
Posts (Atom)