Skip to content

gbe0.com

Networking, system administration and more

  • Home
  • Categories
    • Linux
      • Desktop
      • Server
      • Virtual
    • Networking
      • Dell
      • Juniper
      • Ubiquiti
    • Scripting
      • Powershell
      • Puppet/Ruby
      • Python
    • Security
    • Hardware
    • Windows
      • Server
  • Pages
    • Networking Pages
    • Linux Pages
      • Useful Linux Tools
      • nftables Configuration Templates
    • Security Pages
      • Hardening Guides
      • Privilege Management
      • Useful Tools
  • Wiki
  • GitHub
  • Password Dump
  • Contact

gbe0.com

Networking, system administration and more

  • Home
  • Categories
    • Linux
      • Desktop
      • Server
      • Virtual
    • Networking
      • Dell
      • Juniper
      • Ubiquiti
    • Scripting
      • Powershell
      • Puppet/Ruby
      • Python
    • Security
    • Hardware
    • Windows
      • Server
  • Pages
    • Networking Pages
    • Linux Pages
      • Useful Linux Tools
      • nftables Configuration Templates
    • Security Pages
      • Hardening Guides
      • Privilege Management
      • Useful Tools
  • Wiki
  • GitHub
  • Password Dump
  • Contact

Tag: powershell

Posted May 10, 2021May 10, 2021Leave a commentPosted in DesktopDesktop

Linux – PowerShell Remote to Windows with Docker

I needed to run some simple tasks from a PowerShell session on a remote Windows computer. I thought this would be no problem – just fire up the PowerShell container that Microsoft provides and start a remote session but of course it is never that easy. I will be using […]

Read more
Posted May 4, 2021May 6, 20222 CommentsPosted in WindowsWindows

Exchange Online PowerShell from Linux with Docker

These steps allow you to connect to Exchange Online using PowerShell inside a Docker container from a Linux host. in my example I am connecting to Exchange Online from Ubuntu 21.04. For the Docker container image I am using the official Azure PowerShell container from Microsoft (mcr.microsoft.com/azure-powershell). The account I […]

Read more
Posted October 29, 2018April 17, 2021Leave a commentPosted in Powershell, WindowsPowershell, Windows

Add IPv6 address with Powershell

These steps will configure IPv6 on a network adapter using Powershell. Adding an IPv6 address Make sure Powershell is launched with Administrator permissions. Get the ifIndex for the network adapter that you want to configure the IPv6 address on: In this case we would like to add the IPv6 settings […]

Read more
Posted May 22, 2018April 17, 2021Leave a commentPosted in Powershell, WindowsPowershell, Windows

Grep files with Powershell

Powershell can be used to search for content (with regex support) for files in a path by using Select-String: The output of the command looks like this for any results:

Read more
Posted May 16, 2018April 17, 2021Leave a commentPosted in Powershell, Server, WindowsPowershell, Server, Windows

Get Active Directory Computer with Powershell

The PowerShell cmdlet Get-ADComputer can be used to retrieve the details for a computer account. You can use a filter if required. The usage of this cmdlet is like this: If no filter property is provided you will be prompted for the filter when running this cmdlet. Examples Some examples […]

Read more
Posted May 11, 2018April 17, 2021Leave a commentPosted in Powershell, WindowsPowershell, Windows

Testing user credentials with Powershell

To test a users credentials you can start a process using Start-Process with the -Credential flag. As an example, to start cmd.exe and prompt for the username and password:

Read more
Posted March 23, 2018April 17, 2021Leave a commentPosted in Powershell, ServerPowershell, Server

Create Loopback Interface with PowerShell

Some load balancers may require you to create a loopback interface on a Windows server or servers. The loopback device then gets the load balanced IP added to it; that IP is used for the inbound load balanced connections. The loopback adapter is used so that no ARP replies are […]

Read more

Navigation

  • Home
  • Categories
  • Pages
  • Wiki
  • GitHub
  • Password Dump
  • Server Status
  • Contact

Recent Posts

  • LibreNMS Docker with Authentik SSO
  • Cracking IPMI Passwords
  • Cloudflare SSL with Traefik and Let’s Encrypt
  • Linux Backup – duplicity + Dropbox
  • Juniper vRR on Proxmox

Archives

  • January 2024
  • April 2023
  • June 2022
  • March 2022
  • January 2022
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • January 2019
  • December 2018
  • October 2018
  • September 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • October 2013
  • August 2013

Categories

  • Hardware
  • Hosting/Domains
  • Linux
    • Desktop
    • Server
    • Virtual
  • Networking
    • Dell
    • Juniper
      • EX/QFX
      • MX/vMX
      • SRX/vSRX
    • Ubiquiti
  • Scripting
    • PHP
    • Powershell
    • Puppet/Ruby
    • Python
  • Security
  • Uncategorized
  • Windows
    • Server