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

      How To Unblock Files on Windows That Are Blocked with PowerShell

      IT Discussion
      • powershell unblock windows • • scottalanmiller
      1
      2
      Votes
      1
      Posts
      144
      Views

      No one has replied

    • Pete.SP

      DISM /Remove-ProvisionedAppxpackage vs Remove-AppxPackage?

      IT Discussion
      • powershell windows10 • • Pete.S
      8
      0
      Votes
      8
      Posts
      408
      Views

      JaredBuschJ

      @Pete-S using your little snippet did not clean up the pinned start menu of the initial admin user that ran it, nor the non admin user account that I subsequently created.

      f2e6d053-0b72-4407-9ba8-b1d9dd3d75c8-image.png

      It xbox was still in the start menu, but the rest looked gone.
      da69b05a-32c4-40e7-ba6d-03ae78e2b092-image.png

    • DustinB3403D

      Solved Query Regsitry using a Variable

      IT Discussion
      • powershell registry • • DustinB3403
      6
      0
      Votes
      6
      Posts
      140
      Views

      ObsolesceO

      @DustinB3403 depending on what you want, you can also:

      $app = Get-ChildItem -Path 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall' | Get-ItemProperty | Where-Object -Property DisplayName -EQ "Microsoft Edge" $installDate = $app.InstallDate
    • JaredBuschJ

      Solved How can I remove these items with powershell?

      IT Discussion
      • powershell remove-item • • JaredBusch
      15
      0
      Votes
      15
      Posts
      374
      Views

      JaredBuschJ

      @Obsolesce said in How can I remove these items with powershell?:

      Get-ChildItem -Path ~\Documents -Hidden -Recurse | ForEach-Object { $PSItem.Delete() }

      Thanks a ton.

    • dbeatoD

      Server 2012 R2 not installing Updates

      IT Discussion
      • server 2012 r2 windows server 2012 r2 powershell windows updates hotfix • • dbeato
      15
      4
      Votes
      15
      Posts
      743
      Views

      scottalanmillerS

      @dashrender said in Server 2012 R2 not installing Updates:

      @scottalanmiller said in Server 2012 R2 not installing Updates:

      @dashrender said in Server 2012 R2 not installing Updates:

      Of course though - this thread is about Windows Server, not desktop - where this should be MUCH less of an issue with properly designed code.

      Same code, they don't make it twice. Less hardware hotplugging, but probably just as many lines of code in use.

      Less desktop apps on the platform, but you're right - the base code is the same.

      Fewer desktop apps, maybe. But in the Windows world, server often is treated as a desktop (like 90% of the time) so the reduction is rarely what you'd hope. And there tends to be lots of server-only code too, often running as desktop apps.

    • pmonchoP

      Powershell split and sort date/time

      IT Discussion
      • powershell dateandtime split • • pmoncho
      6
      0
      Votes
      6
      Posts
      1156
      Views

      pmonchoP

      @obsolesce

      That is pretty cool. I will give that a try this morning.

    • JaredBuschJ

      Use powershell to create a scheduled task to reboot computers on schedule

      IT Discussion
      • powershell reboots users • • JaredBusch
      10
      4
      Votes
      10
      Posts
      8403
      Views

      Pete.SP

      @obsolesce said in Use powershell to create a scheduled task to reboot computers on schedule:

      @pete-s said in Use powershell to create a scheduled task to reboot computers on schedule:

      @jaredbusch

      For logistics, I would also place scheduled tasks that I created in their own task folder. Just like Microsoft and others have.

      That way I know the tasks in there is not generated by something else.

      One could also fix the description to say the source of the task. I get the appeal of placing them in their own folder nested somewhere in that mess, but it's so much easier to deal with them in the top level directory.

      I guess you could fix the name. But it's mostly misbehaving apps that put tasks in the top level directory. I mean Microsoft added the folder structure for task organization. It wasn't there in the old days.

      But yeah, it works regardless.

    • JaredBuschJ

      Solved Unregister-ScheduledTask giving error about non-interactive mode

      IT Discussion
      • powershell scheduled tasks • • JaredBusch
      9
      0
      Votes
      9
      Posts
      711
      Views

      JaredBuschJ

      @obsolesce said in Unregister-ScheduledTask giving error about non-interactive mode:

      Ohh, didn't notice the typo lol

      Funny that. me either......

    • DustinB3403D

      Removing Windows Installed Packages with Powershell

      IT Discussion
      • powershell uninstall windows application management bloat how to • • DustinB3403
      8
      1
      Votes
      8
      Posts
      479
      Views

      DustinB3403D

      @dashrender said in Removing Windows Installed Packages with Powershell:

      @dustinb3403

      Sure, but to Gene's point - you're not going to be installing crapware with Chocolatey - but the MS Store pre-loads your machine with a shit ton, and really, the only way to get rid of if all is using PowerShell.

      I love the first post for info sake itself... I just don't see the need to mention Choco in the same thread - it serves an entirely different purpose - not to mention the fact that it isn't even loaded by default, so if it's there - YOU know it's there.

      And again, you know how to install and uninstall applications with Chocolatey.

      But you may not know (or want to know how to learn to use Microsoft's App Store) and maybe you prefer to use a shell to remove applications from add and remove.

      While you know what you've installed with Choco, doesn't mean you know how to remove programs like in the OP which, again installed during the evening hours without me having installed it.

    • OksanaO

      Create and Display Windows 10 Notifications with PowerShell

      Starwind
      • starwind blog github windows server windows10 powershell • • Oksana
      1
      4
      Votes
      1
      Posts
      247
      Views

      No one has replied

    • DustinB3403D

      Checking multiple Directories to confirm all files are identical

      IT Discussion
      • windows comparison file management powershell • • DustinB3403
      30
      0
      Votes
      30
      Posts
      676
      Views

      ObsolesceO

      @dustinb3403 said in Checking multiple Directories to confirm all files are identical:

      I know I could use a tool like Create-Synchronicity to force 1 other directory to match the source, but I would prefer to find and list the differences in the directories.
      Maybe powershell can help?

      Yeah, PowerShell can help with this in the same way closing the front door of a house will fix a fire inside of it.

    • gjacobseG

      WinRM: Security Question

      IT Discussion
      • winrm remote management powershell • • gjacobse
      22
      0
      Votes
      22
      Posts
      700
      Views

      gjacobseG

      @dashrender said in WinRM: Security Question:

      @gjacobse said in WinRM: Security Question:

      @stacksofplates said in WinRM: Security Question:

      https://www.manageengine.com/products/desktop-central/help/computer_configuration/executing_custom_scripts.html

      Thanks -
      Guess it will have to do... sigh.

      I wonder if you can run powershell scripts by typing powershell first?

      Is there a way to copy files to the computers with ME?

      Seems like it is possible.

      3c712099-6a8d-4e24-8fde-67a9e53cdbf3-image.png

    • EddieJenningsE

      YouTube Months in Review: February - June 2021

      Self Promotion
      • youtube home lab linux powershell fedora music rhce • • EddieJennings
      1
      4
      Votes
      1
      Posts
      272
      Views

      No one has replied

    • DustinB3403D

      USB Device Managment

      IT Discussion
      • usb device management windows powershell how to • • DustinB3403
      18
      0
      Votes
      18
      Posts
      2002
      Views

      Z

      @dustinb3403 I even managed to make devcon.exe disable USB
      but I wanted with this command you sent

    • DustinB3403D

      Powershell Eject of USB Works how could I remount it without reconnecting the device

      IT Discussion
      • eject powershell usb enable disable • • DustinB3403
      13
      -1
      Votes
      13
      Posts
      2363
      Views

      DustinB3403D

      Things to consider if you do this yourself, once you disable a device if you don't enable it again, it will remain disabled in device manager between subsequent removal/installation.

      So it's critical to enable any disabled devices after the fact, or you'll have to manually enable the device through device manager.

    • dafyreD

      VMware Get Host Details from PowerCLI

      IT Discussion
      • powershell vmware esxi powercli • • dafyre
      1
      3
      Votes
      1
      Posts
      275
      Views

      No one has replied

    • OksanaO

      How to use Azure Resource Graph with PowerShell

      Starwind
      • powershell azure microsoft azure • • Oksana
      1
      1
      Votes
      1
      Posts
      221
      Views

      No one has replied

    • OksanaO

      How to Use PowerShell Tasks in Azure DevOps Pipelines

      Starwind
      • azure devops powershell • • Oksana
      1
      1
      Votes
      1
      Posts
      214
      Views

      No one has replied

    • GreyG

      Powershell for Snapshot Management

      IT Discussion
      • powershell vsphere esxi • • Grey
      3
      4
      Votes
      3
      Posts
      324
      Views

      RomoR

      @DustinB3403 Tags added 😃

    • JaredBuschJ

      Powershell to unhide all files and copy to nextcloud folder

      IT Discussion
      • powershell bobcat nextcloud • • JaredBusch
      17
      0
      Votes
      17
      Posts
      816
      Views

      DustinB3403D

      @WrCombs said in Powershell to unhide all files and copy to nextcloud folder:

      @Grey said in Powershell to unhide all files and copy to nextcloud folder:

      @JaredBusch said in Powershell to unhide all files and copy to nextcloud folder:

      @Grey said in Powershell to unhide all files and copy to nextcloud folder:

      @JaredBusch But why robocopy?

      Because it does at least skip the ones with no changes.

      Why get convoluted with Powershell to do the same?

      Not every system may have Robocopy.

      it became part of theOS with Windows Vista. So anything running Windows Vista or Higher will have robocopy as a part of the Operating system (as everyone should be using higher than vista at this point.. I mean.. windows 7 is obsolete now.. sooo..)

      Windows 10 1709 is obsolete too, so really anything not with a support mechanism shouldn't be used. But @JaredBusch might be getting paid stupid amounts of money to support Windows XP / Server 2000

    • 1
    • 2
    • 3
    • 4
    • 5
    • 10
    • 11
    • 1 / 11