#PSTip How to automatically dot-source all scripts in a folder
As I mentioned in my previous post, I like to have access to (almost) all my scripts on all machines. That’s why I have Scripts folder inside my Dropbox:\PowerShell\Profile.
Read MoreAs I mentioned in my previous post, I like to have access to (almost) all my scripts on all machines. That’s why I have Scripts folder inside my Dropbox:\PowerShell\Profile.
Read MoreAs PowerShell drives are really useful concept, many people use it a lot. I also created some PSDrives for parts of my system I am accessing frequently.
Read MoreI frequently use different credentials to connect to some of my servers. Oh man, I wish I have just one account J As Configuration Manager is based on WMI, my most frequently used cmdlet is Get-WmiObject.
Read MoreWhen I was asked to provide some PowerShell tips, I decided to look at the first possible place–my $profile. When I started working with PowerShell few years ago I was looking for solution to have scripts available on all of my computers.
Read MoreNote: This tip requires PowerShell 3.0 or above. PowerShell lets you control how it responds to a non-terminating error (an error that does not stop the cmdlet processing) globally via the $ErrorActionPreference preference variable, or at a cmdlet …
Read MoreNote: This tip requires PowerShell 3.0 or above. The Send-MailMessage cmdlet enables you to quickly and easily send e-mail message from within Windows PowerShell.
Read More