Tag: PowerShell

PowerShell modules: loaded vs. available

The Get-Module cmdlet lists all modules that are available on the current computer to the current user. Whereas the Get-InstalledModule cmdlet lists all modules that were installed using Install-Module on a local computer. The difference in performance comes from the second command needing to inspect each available module to check whether it was installed or

Can’t hold shift and type space with Fall 2018 Win10 update

Some people may have run into an annoyance when typing out shorthand pipes to Select-Object or Where-Object. With the Windows 10 Fall 2018 update, people have noticed an odd issue with PowerShell.  It doesn’t happen with the cmd.exe though, while holding down the left-shift key and typing out a command, spaces are not written. In

Using PowerShell instead of command line to keep a transcript

Ok, so all of you that use Command Line (CMD.exe), it is probably time to stop and just use PowerShell. Now there is nothing wrong with cmd, as we’ve used it for many, many years. However, there is no transcript option available. Many of you know and some do not, that PowerShell has a built

PowerShell thought process

One important aspect of leveraging PowerShell is to adjust your mindset. Listed are some topics to consider: Automate: Create scripts, functions, and modules to automate manual tasks. If you function up routine tasks, you and others can quickly and easily complete work duties more efficiently. Delegate: Once the functions and modules are built and deployed,

PowerShell Core Support Lifecycle

Microsoft has updated the life cycle of software to the Modern Lifecycle Policy. The short answer is: faster, more frequent updates mean that version support is shorter. This makes sense in today’s agile software development environment. Instead of a three-year cycle for applications, and an additional 10+ years of support, the new agile process of

cmdlet: Remove-InboxRule

Q: Is there a way to remove an Inbox rule for a mailbox? A: Yes. You can use the Remove-InboxRule cmdlet to remove an Inbox rule from a mailbox. Inbox rules process messages in an Inbox based on conditions specified and take actions. Removing an Inbox Rule can assist in troubleshooting end user’s mailboxes. Remove-InboxRule -Mailbox

cmdlet: Enable-InboxRule

Q: Is there a way to enable an Inbox rule for a mailbox? A: Yes. You can use the Enable-InboxRule cmdlet to enable an Inbox rule. Inbox rules process messages in an Inbox based on conditions specified and take actions. The enable/disable InboxRule cmdelts, assist in troubleshooting end user’s mailboxes. Enable-InboxRule “Move To Junk Mail” -Mailbox

cmdlet: Disable-InboxRule

Q: Is there a way to disable an Inbox rule for a mailbox? A: Yes. You can use the Disable-InboxRule cmdlet to enable an Inbox rule. Inbox rules process messages in an Inbox based on conditions specified and take actions. The enable/disable InboxRule cmdelts, assist in troubleshooting end user’s mailboxes. Disable-InboxRule -Identity “MoveAnnouncements“ -Mailbox “Joe@Contoso.com” This example

cmdlet: Set-InboxRule

Q: Is there a way to change or set an Inbox rule on an end user’s mailbox? A: Yes. The Set-InboxRule cmdlet allows you to modify, enable, disable, or even create a rule with this cmdlet. Other than the Get-InboxRule cmdlet, one could argue, the Set-InboxRule is the only other cmdlet you need to know