Customizing Windows PowerShell command prompt

Windows PowerShell is a great tool and, if you are using it frequently, one of the things you might want to do is to customize the default command prompt. This is actually a quite common activity among Linux users; hence, there are many tutorials on doing that as well. In case you want to do this kind of customization to Windows PowerShell, please follow the guidance below.

The text displayed as the prompt for each line in the PowerShell is defined with Prompt() function. You are free to override this function (hence, change the command prompt) the same way you can override any other function – by defining the function in the default user profile script. The profile scripts can be defined at one of the following locations: Continue reading

Troubleshooting slow logon issues on domain-joined workstation/server

Sometimes you may face an issue when logging on to the workstation/server which is joined to the domain, logon process at step “Applying user settings” takes a lot of time. The procedures defined below might help you to locate the cause of this problem.Клещ

By default logging of domain user actions (apply of group policies, profile loading etc.) are not being logged anywhere in retail builds of “Windows” operating system. Despite that, that log information is essential when troubleshooting slow logons problems, so you can enable the logging doing those steps: Continue reading

Show dynamic distribution groups in “All Groups” address list on Exchange 2010

By default on “Microsoft Exchange 2010” server, “All Groups” default address list contains only static distribution groups. That might be misleading for some users: in default “Global Address List” (GAL) user sees more groups then he does when selecting “All groups” because dynamic distribution groups aren’t listed here. If we want to both static and dynamic distribution groups be listed in “All Groups” address list, we can achieve it by following these steps Continue reading