refactoring (StyleCop messages, cmdlet output)