Open SSMS (If you don’t know what is SSMS, you shouldn’t be doing this…) Paste and execute this query, modifying it to your needs USE master GO ALTER DATABASE TempDB MODIFY FILE (NAME = tempdev, FILENAME = ‘d:\data\tempdb.mdf’) GO ALTER DATABASE TempDB MODIFY FILE (NAME = templog, FILENAME = ‘e:\logs\templog.ldf’) GO Restart the MS SQLSERVER ..
Run from Virtual Machine Manager PowerShell Console: $IPpool = Get-SCStaticIPAddressPool “my_ip_pool” Get-SCIPAddress -StaticIPAddressPool $IPpool | ft -property Address,Description,AssignedTo..
Very simple! Log on to your MySQL instance, and select the DB you table is in; mysql> use mydatabase; Create the new table with the same structure as your source; mysql> CREATE TABLE mytable_new LIKE mytable; Then copy all the content from your original table into your new one; mysql> INSERT into mytable_new SELECT ..
SSH to the web server cd into your wordpress forlder; cd /var/www/html/mywpfolder Make Apache the owner chown apache:apache -R * Change all sub-folder’s permissions to rwxr-xr-x (0755); find . -type d -exec chmod 755 {} \; Change all files’s permissions to rw-r–r– (0644); find . -type f -exec chmod..
128 192 224 240 248 252 254 255 128 64 32 16 8 4 2 1 0-127 0-63 0-31 0-15 0-7 0-3 0-1 0 128-255 64-127 32-63 16-31 8-15 4-7 2-3 1 128-191 64-95 32-47 16-23 8-11 4-5 2 192-255 96-127 48-63 24-31 12-15 6-7 3 128-159 64-79 32-39 16-19 8-9 4 160-191 80-95 ..
Before you create any Export or Import; review/modify the max values for Transport, Receive and Send PS C:\Set-TransportConfig -MaxSendSize 100MB -MaxReceiveSize 100MB PS C:\Get-ReceiveConnector | Set-ReceiveConnector -MaxMessageSize 100MB PS C:\Get-SendConnector | Set-SendConnector -MaxMessageSize 100MB To create an export request: PS C:\New-MailboxExportRequest -Mailbox UserName -FilePath “\\server\folder\username.pst” ** You need to grant read/write permission to the group ..
This script will delte everyting in the “Script” folder, sub-folder, and the “-recurse” option will prevent the prompting of confirmation. The “-exclude” option alllows you to exclude files and folders. Remove-Item c:\scripts\* -recurse -exclude *.wav Alternative; $Path = ‘\\servername\folder’ Get-ChildItem -Path $Path -Recurse | Remove-Item -Force -Recurse More on the Remove-Item Powershell cmdlet can be ..
Make sure to run all listed commands from the database you are fixing, not from Master. List the orphaned users in the database EXEC sp_change_users_login ‘Report’ To assign/repair with an existing login: EXEC sp_change_users_login ‘Auto_Fix’, ‘user’ To create a new login and password for this user, use this instead: EXEC sp_change_users_login ‘Auto_Fix’, ‘user’, ‘login’, ..
1- Click Start, click Run, type cmd.exe, and then press ENTER. 2- Enter this command and then press ENTER: set devmgr_show_nonpresent_devices=1 3- Open Device Manager; Start DEVMGMT.MSC Click View, and then click Show Hidden Devices. Expand the Network Adapters tree. Right-click the dimmed network adapter, and then click ..
In VMware, select your guest, and click “Install/Upgrade VMware Tools” Then go back in your VM, and issue all the following commands from terminal. mkdir -p /media/cdrom mount /dev/cdrom /media/cdrom Sometimes, you have to run the “mount” twice…. Cdrom might not have been ready the first time cd /media/cdrom cp VM*.tar.gz /tmp Install the headers, ..