• Home
  • Linux
  • Docker
  • Windows
    • PS
    • C#
    • Exchange Server
  • Other
    • Perl
    • IPV6
    • MacOS
  • DB
    • MSSQL
    • MariaDB
    • PG

Home

Set A Windows Service Log On Account and Password with PowerShell

Details
Written by: po3dno
Category: Power Shell
Created: 06 February 2023
Hits: 558

The Set-Service cmdlet changes the properties of a service, along with the starting and stopping of a service.

Before setting the log-on account information for a service, we need to capture the credentials. The credentials can come from user input:

# Prompt for credentials
$Credential = Get-Credential

# Prompt for credentials with message
$Credential = Get-Credential -UserName domain\user -Message 'Enter Password for Service Account'

Read more …

How to Create LVM Partition Step-by-Step in Linux

Details
Written by: po3dno
Category: Linux
Created: 02 February 2023
Hits: 520

In this guide, we will cover how to create lvm partition step-by-step in Linux.

LVM stands for Logical Volume Management, it is the recommended way to manage disk or storage on Linux systems specially for servers. One of the main advantages of LVM partition is that we can extend its size online without any downtime. LVM partition can also be reduced but it is not recommended.

For the demo purpose, I have attached 15GB disk to my Ubuntu 22.04 system, we will create LVM partition on this disk from the command line.

Read more …

Test-RebootRequired

Details
Written by: po3dno
Category: Power Shell
Created: 01 February 2023
Hits: 462

Read more …

Классические настройки области уведомлений для изменения значков панели задач

Details
Written by: po3dno
Category: Windows
Created: 26 January 2023
Hits: 445
explorer shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}

WSUS failed. Error Number 80131509

Details
Written by: po3dno
Category: Other
Created: 29 November 2022
Hits: 464

You need to tell .NET to use TLS1.2 which is what the PowerShell code below does (Run it from an Administrative PowerShell Window).

  1. $Properties = @{
  2. Name = 'SchUseStrongCrypto'
  3. Value = '1'
  4. Type = 'DWord'
  5. }
  6. $null,'Wow6432Node' | Foreach-Object {
  7. Set-ItemProperty @Properties -Path "HKLM:\SOFTWARE$("\$_")\Microsoft\.NetFramework\v4.0.30319" -Verbose
  8. }
  1. PowerShell equivalents for Repadmin commands
  2. Configure Managed Service Accounts for SQL Server Always On Availability Groups
  3. Fix heavy memory usage in ReFS
  4. Networking does not work

Subcategories

Power Shell Article Count:  53

C# Article Count:  10

Perl Article Count:  1

Exchange Server Article Count:  15

Other Article Count:  24

MSSQL Article Count:  17

Windows Article Count:  25

MariaDB Article Count:  3

Linux Article Count:  8

Docker Article Count:  2

pg Article Count:  1

Page 7 of 32

  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11

Login Form

  • Forgot your password?
  • Forgot your username?

Statistics

  • Users 2
  • Articles 175
  • Articles View Hits 154278