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

Home

mount vhd

Details
Written by: po3dno
Category: Power Shell
Created: 05 March 2019
Hits: 1070
Sysprep /generalize /shutdown /oobe

First, mount the vhd using

Mount-WindowsImage -ImagePath C:\VHDs\BigHomies.vhdx -Path C:\VHDMount -Index 1

Then, capture it into a wim with

New-WindowsImage -CapturePath C:\VHDMount -Name Win7Image -ImagePath C:\CapturedWIMs\Win7.wim -Description "Yet another Windows 7 Image" -Verify

And let it do it's thing. When you are done you can unmount the vhd and discard any changes using:

Dismount-WindowsImage -Path C:\VHDMount -Discard

SQL AG config multisubnets

Details
Written by: po3dno
Category: MSSQL
Created: 28 December 2018
Hits: 1135

sql01_sme_AG_sql01-sme1c         Online  sql01_sme_AG  Network Name

 

Get-ClusterResource sql01_sme_AG_sql01-sme1c |Set-ClusterParameter -Name RegisterAllProvidersIP -Value 0

Get-ClusterResource sql01_sme_AG_sql01-sme1c |Set-ClusterParameter -Name RegisterAllProvidersIP -Value 0

Get-ClusterResource sql01_sme_AG_sql01-sme1c  | Update-ClusterNetworkNameResource

Fix Recovery Pending State in SQL Server Database

Details
Written by: po3dno
Category: MSSQL
Created: 07 December 2018
Hits: 1165

ALTER DATABASE [DBName] SET EMERGENCY;

GO

ALTER DATABASE [DBName] set single_user

GO

DBCC CHECKDB ([DBName], REPAIR_ALLOW_DATA_LOSS) WITH ALL_ERRORMSGS;

GO 

ALTER DATABASE [DBName] set multi_user

GO

Disable NETBIOS

Details
Written by: po3dno
Category: Power Shell
Created: 15 May 2018
Hits: 1141

Get-DhcpServerv4Scope -ComputerName SERVER | %{Set-DhcpServerv4OptionValue -ComputerName SERVER  -ScopeId $_.ScopeId -OptionId 1 -VendorClass "Параметры Microsoft" -Value "0x2" -Verbose}

Files and Settings guide for Outlook

Details
Written by: po3dno
Category: Other
Created: 18 April 2018
Hits: 1201

Files and Settings guide for Outlook

Button Files and SettingsThis guide is not for the faint hearted but still is useful if you are interested in the location of a specific file or its purpose and whether or not is possible to migrate it to another computer.

If you are looking for a way to just backup your Outlook data, please take a look at Backup and Restore all Outlook data instead.
If you are looking for a way to conveniently backup your Outlook data and settings or want to move your Outlook data and settings to another computer, the blog post Backup Outlook settingsis recommended instead.

If you are in IT support or just are interested to find out which files Outlook uses and where it stores its settings; this is the guide for you.

 

  • How this guide works
  • Folder locations
  • File names
  • Registry locations

Read more …

  1. InstallWinUpdates
  2. Exchange Server: Clear AutoDiscover Cache
  3. Calculate UAC
  4. winrm

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:  2

Page 16 of 32

  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20

Login Form

  • Forgot your password?
  • Forgot your username?

Statistics

  • Users 2
  • Articles 176
  • Articles View Hits 157835