ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. net
    Log in to post
    • All categories
    • scottalanmillerS

      Managing Windows Local Groups with Net LocalGroup

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion sam windows administration system administration scottalanmiller windows cmd net local groups user management
      6
      4 Votes
      6 Posts
      1k Views
      ObsolesceO

      I ran into a language issue the other day when writing a PowerShell script that uses net localgroup and thought it could be useful to others:

      Depending on the language your Windows device is set to, the local Administrators group will be different, so the typical net localgroup administrators domain\user /add command will fail.

      Implementing the following will grab the actual name of the group by it's SID first, then use that result.
      Note that this is written to work in PowerShell, not CMD.exe.

      # Gets the name of the local Administrators group in appropriate language $localAdminGroupName = (Get-WmiObject win32_group -filter "LocalAccount = $TRUE And SID = 'S-1-5-32-544'" | Select-Object -Expand name) Write-Output "Local Administrators group detected as: [$localAdminGroupName]" # Sets the users as a local admin using appropriate local Administrators group name net localgroup $localAdminGroupName domain\user /add # Gets local Administrators group members net localgroup $localAdminGroupName
    • scottalanmillerS

      Managing Windows Local Users with Net User

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion sam windows administration windows net net commands
      28
      0 Votes
      28 Posts
      2k Views
      J

      @scottalanmiller said in Managing Windows Local Users with Net User:

      @JasGot said in Managing Windows Local Users with Net User:

      I'm using backstage more

      I assume that this is a component of another product?

      Part of ConnectWiseControl. (or ScreenConnect as we still call it around here.)

      It's at the bottom of the View tab when attached to a guest. Takes you to a new sessions as a System account with a command prompt and powershell window already open. No limit to what you can accomplish there. many gui apps will run in backstage too.

    • mlnewsM

      Microsoft continues its quest to embrace every developer with Visual Studio 2019

      Watching Ignoring Scheduled Pinned Locked Moved News visual studio development visual studio 2019 net net core winui wpf winforms
      1
      1 Votes
      1 Posts
      510 Views
      No one has replied
    • scottalanmillerS

      Why Visual Basic Is the Worst Programming Language for Your Project SAMIT Video

      Watching Ignoring Scheduled Pinned Locked Moved Developer Discussion samit scott alan miller youtube visualbasic net programming languages basic fortran cobol delphi cobol effect
      31
      3 Votes
      31 Posts
      8k Views
      1

      @scottalanmiller said in Why Visual Basic Is the Worst Programming Language for Your Project SAMIT Video:

      @Pete-S said in Why Visual Basic Is the Worst Programming Language for Your Project SAMIT Video:

      Anyway, you couldn't really do any serious applications with gwbasic. It was followed by qbasic a little later.

      I was in time to get to do both. Still have the original GWBASIC manuals!

      I just did a little with both. But this was around the same time that Borland released Turbo Pascal and at least in my view it became the serious language to make PC applications with in that era. It was almost instant compilation and it had a very good IDE.

    • scottalanmillerS

      .NET Stack Trace Failing to Connect to MySQL

      Watching Ignoring Scheduled Pinned Locked Moved Developer Discussion iis stack trace net mysql dns
      10
      0 Votes
      10 Posts
      4k Views
      A

      I see what you mean. And also, if you're making the change in the web.config, that should trigger an application restart anyway.

      Something is preventing the pageSecurity object from being set. You could do a global text search for "pageSecurity" and find the code that sets it. That may be where the failure is happening.

      Normally I would expect this to be caused by a missing security-related table, like Roles or something. But you said it was a full copy. You might want to double check.

    • JaredBuschJ

      Introducing .NET Core

      Watching Ignoring Scheduled Pinned Locked Moved News microsoft net mono
      2
      0 Votes
      2 Posts
      1k Views
      scottalanmillerS

      Awesome, this is what we need to get C# and F# into the open source ecosystem.

    • Reid CooperR

      Microsoft Expanding Its OpenSource Strategy for .NET

      Watching Ignoring Scheduled Pinned Locked Moved Developer Discussion microsoft net open source
      1
      1 Votes
      1 Posts
      865 Views
      No one has replied
    • Reid CooperR

      .NET Goes Open Sources and is Coming to Mac OSX and Linux

      Watching Ignoring Scheduled Pinned Locked Moved Developer Discussion mac osx open source linux net
      12
      1 Votes
      12 Posts
      3k Views
      scottalanmillerS

      Apparently some counterpoint has come out...

      http://techrights.org/2014/11/12/openwashing-lockin/

    • scottalanmillerS

      Learning C# for a Newbie

      Watching Ignoring Scheduled Pinned Locked Moved IT Careers programming net
      3
      1 Votes
      3 Posts
      1k Views
      scottalanmillerS

      And of course books. These two look best to me:

      http://www.amazon.com/Microsoft-Visual-2013-Step-Developer/dp/073568183X/ref=sr_1_3?ie=UTF8&qid=1402673332&sr=8-3&keywords=c%23

      http://www.amazon.com/Head-First-C-Jennifer-Greene/dp/1449343503/ref=sr_1_4?ie=UTF8&qid=1402673332&sr=8-4&keywords=c%23

    • 1 / 1