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
Search

gbe0.com

Networking, system administration and more

Close menu
  • 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

Search Toggle menu

Month: May 2018

Posted May 28, 2018April 17, 20211 CommentPosted in Server, WindowsServer, Windows

Network Policy Server Installation Failure

During an install of the Network Policy and Access Services role on a server I was getting the error code 0x800f0922 and the installation was failing. The error from the Add Roles and Features wizard looked like this: To install it instead I had to run the following commands from […]

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 18, 2018April 17, 2021Leave a commentPosted in Linux, ServerLinux, Server

Common PostgreSQL Commands

These are some common PostgreSQL commands for things that I need to remember. Opening session This assumes linux authentication (default for Debian Linux). Run the psql command as the postgres user: Open a database with \c DBNAME: Showing Table Info Use \dt to show table information (same as show tables; […]

Read more
Posted May 16, 2018April 17, 2021Leave a commentPosted in SRX/vSRXSRX/vSRX

Juniper SRX DHCP Server for Windows Deployment Services

In my network, a Juniper SRX cluster handles all DHCP leases (via an IP helper configured on the switches with DHCP snooping). These are the steps I used to get the DHCP server for SRX devices to work for Windows Deployment Services. Main DHCP Configuration The following configuration is set […]

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 May 9, 2018April 17, 2021Leave a commentPosted in MX/vMXMX/vMX

Juniper vMX – IPv6 Support for Host Bridge Interface

After I have deployed the vMX on a CentOS 7.4 host that has an IPv6 address for management, I noticed that IPv6 stopped working when the vMX was started. In my case, the IPv6 address was originally on the interface bond0. When the vMX starts a bridge interface is created […]

Read more

Navigation

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

Recent Posts

  • Cloudflare SSL with Traefik and Let’s Encrypt
  • Linux Backup – duplicity + Dropbox
  • Juniper vRR on Proxmox
  • SSH ControlMaster + RAMFS with Systemd
  • DNSControl – Office 365 Record Generator

Archives

  • 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