• /r/csharp
  • Beginner program help

    I am trying to basically ask for a name (SID) and have it go to GETINFO and use that name instead and messagebox.show it here is my code below public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { } private void button1_Click(object sender, EventArgs e) […]

  • /r/powershell
  • Understanding -whatif behavior – I’m missing something here…

    So, I’m trying to implement -whatif behavior on my functions moving forward, but I’m having trouble on a couple of fronts. Here’s the function I’ve been testing: http://pastebin.com/sFD0UER2 I copied this function from here (and made some minor formatting changes): http://windowsitpro.com/blog/advanced-functions-part-2-shouldprocess-your-script-cmdlets First Problem: The text returned in STDOUT is different using -whatif vs actually executing […]