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

label logistics - 0 views

  •  
    Our variable information labels ensure that you can print variable information with good stickiness, high print quality and low cost.
  •  
    Variable information labels have become an integral part of the logistics and e-commerce industries. These labels, which are designed to provide essential information about the contents of packages, are being widely used to ensure the safety and reliability of packages during transit. They play a crucial role in the smooth operation of these industries, helping to streamline the process of shipping and delivery, and ensuring that packages reach their intended destinations in a timely and efficient manner.
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