$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Import-PSSession $Session
Connect-msolservice
Get-msoluser | set-msoluserpassword -newpassword Pass1234 -forcechangepassword 0
change all password to Pass1234, does not require to change at next logon
$LiveCred = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Import-PSSession $Session
Connect-msolservice
Import-Csv c:\screen\password.csv|%{Set-MsolUserPassword -userPrincipalName $_.UserPrincipalName -NewPassword Pass1234 -ForceChangePassword $false}
CSV file one column 1 field
change all password to Pass1234 from a list of specify user, does not require to change at next logon
Nerd in IT and provide you as much as IT solution. You may send requests to itweirdo@gmail.com. Thanks for support =)
Wednesday, February 19, 2014
Friday, January 24, 2014
Monday, January 20, 2014
MS Office365:Set mailbox size limits for a single user
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session
Set-Mailbox <userid> -ProhibitSendQuota 4.8GB -ProhibitSendReceiveQuota 5GB -IssueWarningQuota 4.7GB
Remove-PSSession $Session
Tuesday, March 12, 2013
[Solution] "The User Profile Service failed the logon” error message
Before proceed to solution,
PLEASE login to administrator account
Solution:
1) Click Start, type regedit in Search box, then hit ENTER
3) In the navigation pane, find the one that starts with S-1-5..... and ends with .BAK



8) Double-click the folder without .bak in the details pane, double-click RefCount, type 0, and then click OK.

9) Click the folder without .bak, in the details pane, double-click State, type 0, and then click OK.

10) Close Registry Editor and restart computer. Then login to your account.
Hope it can solve your issue. =)
Reference:
http://support.microsoft.com/kb/947215
http://answers.microsoft.com/en-us/windows/forum/windows_7-security/i-receive-error-message-the-user-profile-service/38844b82-a2c1-4fa2-9802-a5318d6f7831
http://www.sevenforums.com/tutorials/186131-user-profile-service-failed-logon-user-profile-cannot-loaded.html
Monday, December 10, 2012
How to create rules in Gmail??
How to create rules/filters in Gmail as per MS Outlook does?
As Gmail's filters allow you to manage the flow of incoming messages. Using filters, you can automatically label, archive, delete, star, or forward your mail, even keep it out of Spam.
To create a filter
Besides that, you also can check all your filters list and setting in Gmail Gear Icon.
Reference:
http://support.google.com/mail/bin/answer.py?hl=en&answer=2802754&rd=1
As Gmail's filters allow you to manage the flow of incoming messages. Using filters, you can automatically label, archive, delete, star, or forward your mail, even keep it out of Spam.
To create a filter
- Click the down arrow in your search box as picture shown above. A window that allows you to specify your search criteria will appear.
- Enter your search criteria. If you want to check that your search worked correctly, click the search button.
- Click "Create filter with this search" (Grey out sentence in picture) at the bottom of the search window. If you need to verify the search results, you can click the x to collapse the filter options. Clicking the down arrow again will bring the window back with the same search criteria you entered.
- Choose the action(s) you want the filter to take.
- To keep organized, many people like to have incoming messages automatically labeled and removed from their inbox until they can look at them later at a more convenient time. If you want to do this, make sure to select Skip the Inbox (Archive it) and Apply the label: when you create your filter.
- Click the Create filter button.
- Select the message in your message list.
- Click the More button, then Filter messages like these.
- Enter your filter criteria in the appropriate field(s).
Besides that, you also can check all your filters list and setting in Gmail Gear Icon.
Reference:
http://support.google.com/mail/bin/answer.py?hl=en&answer=2802754&rd=1
Subscribe to:
Posts (Atom)




