Skip to main content

Home/ PowerShell/ Group items tagged Variables

Rss Feed Group items tagged

Joel Bennett

Tied Variables in PowerShell - Windows PowerShell Blog - 0 views

  •  
    This is at the top of my list of crazy things ... I'm not 100% sure why you'd want to use a variable instead of a function badly enough to do this, but I guess variables are a lot easier to work into a string. Plus, it's obviously cool.
Joel Bennett

Tied Variables, a simpler way « Sly PowerShell - 1 views

  •  
    Using breakpoints with an action block to simulate tied variables. I posted a version of this to http://poshcode.org/2750
jinya001

custom shipping labels - 0 views

  •  
    Our variable information labels ensure that you can print variable information with good stickiness, high print quality and low cost.
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.
anonymous

PowerShell Tutorial for Beginners - Introduction | PowerShell Pro! - 0 views

  •  
    Covers the basics well (variables, arrays, conditional logic, WMI etc). Good to get beginners up and running
1 - 5 of 5
Showing 20 items per page