Skip to main content

Home/ PowerShell/ Group items tagged best-practices

Rss Feed Group items tagged

anonymous

Best Practices for Importing PowerShell Modules - 0 views

  • Importing Modules Is Messy
  • It hit me the other day that I should write an Import-Carbon.ps1 script which properly handles all the weird edge cases
  • Finally! One line of code to import a module. And, only one place to change if additional weird edge cases pop up.
  • ...1 more annotation...
  • When writing a module, always write and include a script that safely imports the module. I recommend using the above code as a template. If you're using a module that doesn't include a safe import scrpt, write one yourself. Test for a variable or function that is specific to the module.
walexjalper78

Instadp blogs - 2 views

Instadp blogsInstadp blogs are a great resource for anyone looking to learn more about Instagram, social media marketing, and online content creation. These blogs cover a wide range of topics, from...

PowerShell

started by walexjalper78 on 17 Mar 23 no follow-up yet
markwood3478

NetworkUstad: Elevate Your Networking Skills and IT Knowledge - 1 views

NetworkUstad is a leading online platform designed for those eager to enhance their understanding of networking and IT solutions. Catering to novices and seasoned professionals alike, it provides a...

started by markwood3478 on 21 Oct 24 no follow-up yet
1 - 4 of 4
Showing 20 items per page