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

      List Windows Printers from PowerShell Command Line CLI

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion windows windows server printer powershell command line cli
      3
      0 Votes
      3 Posts
      312 Views
      DustinB3403D

      @scottalanmiller said in List Windows Printers from PowerShell Command Line CLI:

      If you need to remote into a Windows machine and get a list of printers without interrupting the user, this powershell command is quick and easy...

      Get-Printer | Format-Table

      Make it easier Get-Printer | FT

    • OksanaO

      Can’t Access a BitLocker-Encrypted Azure VM?

      Watching Ignoring Scheduled Pinned Locked Moved Starwind starwind azure virtual machine bitlocker powershell azure key vault
      1
      0 Votes
      1 Posts
      372 Views
      No one has replied
    • OksanaO

      Switching from Hyper-V to Proxmox VE? Here's How

      Watching Ignoring Scheduled Pinned Locked Moved Starwind starwind proxmox ve hyper-v powershell vms hyper-v vm
      1
      0 Votes
      1 Posts
      256 Views
      No one has replied
    • OksanaO

      Windows Server 2025: Clean Install or In-Place Upgrade?

      Watching Ignoring Scheduled Pinned Locked Moved Starwind starwind windows server windows server 2025 azure powershell
      1
      0 Votes
      1 Posts
      207 Views
      No one has replied
    • OksanaO

      Simplifying Hyper-V Passthrough Disk Configuration

      Watching Ignoring Scheduled Pinned Locked Moved Starwind starwind hyper-v disks powershell
      1
      0 Votes
      1 Posts
      261 Views
      No one has replied
    • OksanaO

      Step-by-Step Guide: Connecting SwaggerHub to Azure API Management

      Watching Ignoring Scheduled Pinned Locked Moved Starwind starwind swagger azure api powershell
      1
      0 Votes
      1 Posts
      419 Views
      No one has replied
    • OksanaO

      Microsoft Windows Server 2025: Key Features and Licensing Changes

      Watching Ignoring Scheduled Pinned Locked Moved Starwind starwind microsof windows server 2025 windows server 2022 hyper-v powershell active directory
      1
      0 Votes
      1 Posts
      620 Views
      No one has replied
    • gjacobseG

      Powershell: Manager Report with Direct Reports

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion manager report powershell vscode dkwiad
      6
      1 Votes
      6 Posts
      1k Views
      EddieJenningsE

      @gjacobse You should consider publishing this and others (sanitizing of course) to GitLab or GitHub. It can serve as a reference for you as well as a bit of a portfolio. I know for a fact my GitLab stuff had a positive effect with helping me land my current gig.

    • scottalanmillerS

      Move FSMO Roles Using PowerShell | Active Directory Domain Controller AD DC

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion powershell ad dc ad dc active directory fsmo domain controller windows windows server
      4
      4 Votes
      4 Posts
      910 Views
      CCWTechC

      @syko24 said in Move FSMO Roles Using PowerShell | Active Directory Domain Controller AD DC:

      I'm a fan of the one liner assuming you are transferring all roles to the same DC.

      Move-ADDirectoryServerOperationMasterRole -Identity "DC-Server" -OperationMasterRole 0,1,2,3,4 0: PDCEmulator 1: RIDMaster 2: InfrastructureMaster 3: SchemaMaster 4: DomainNamingMaster

      Me too. This is what I normally use. SOOOO helpful.

      Not sure why powershell made it so complicated to find who has the roles.
      netdom query fsmo was so easy.

    • OksanaO

      Unlock the power of Secret Management: Securely manage credentials in PowerShell

      Watching Ignoring Scheduled Pinned Locked Moved Starwind starwind microsoft azure powershell
      1
      0 Votes
      1 Posts
      333 Views
      No one has replied
    • OksanaO

      WSUS Import Update: PowerShell

      Watching Ignoring Scheduled Pinned Locked Moved Starwind starwind wsus windows server powershell
      1
      1 Votes
      1 Posts
      335 Views
      No one has replied
    • OksanaO

      Windows PowerShell: How & Why

      Watching Ignoring Scheduled Pinned Locked Moved Starwind starwind microsoft windows powershell
      1
      1 Votes
      1 Posts
      312 Views
      No one has replied
    • JaredBuschJ

      Powershell (or CMD) to print PDF files

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved IT Discussion powershell printing linux
      13
      0 Votes
      13 Posts
      2k Views
      P

      There is a ppd you can use for cups in the Mac driver.

      Primera LX900 - ColorLabelSugned - Payload~~ - Library - Printers - PPDs - Contents - Resources - CL900.ppd

    • scottalanmillerS

      How To Unblock Files on Windows That Are Blocked with PowerShell

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion powershell unblock windows
      1
      2 Votes
      1 Posts
      891 Views
      No one has replied
    • 1

      DISM /Remove-ProvisionedAppxpackage vs Remove-AppxPackage?

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion powershell windows10
      8
      0 Votes
      8 Posts
      4k 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

      Query Regsitry using a Variable

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion powershell registry
      6
      0 Votes
      6 Posts
      562 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

      How can I remove these items with powershell?

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion powershell remove-item
      16
      0 Votes
      16 Posts
      1k Views
      JaredBuschJ

      As an update the solution for Windows 11 now also works for Windows 10 if you are on Windows 10 22H2 and fully updated.

      3ecd352e-4e80-4d97-bb2a-742ae38d326a-image.png

    • dbeatoD

      Server 2012 R2 not installing Updates

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion server 2012 r2 windows server 2012 r2 powershell windows updates hotfix
      15
      4 Votes
      15 Posts
      2k 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

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion powershell dateandtime split
      6
      0 Votes
      6 Posts
      2k 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

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion powershell reboots users
      10
      4 Votes
      10 Posts
      13k Views
      1

      @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.

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