net user /add USER PASSWORD
net localgroup administrators USER /add
net user /add USER PASSWORD
net localgroup administrators USER /add
Get-MailboxFolderStatistics -Identity USERNAME -Archive |select FolderPath, Foldersize
Get the count for all deleted, deleted items from past 2 days
Get-RecoverableItems USERNAME-ResultSize Unlimited -FilterStartTime (get-date).adddays(-2) -FilterItemType IPM.Note | select Identity,Subject,LastmodifiedTime | Measure-Object
Do the restore based off the count above:
Get-RecoverableItems kelly -ResultSize Unlimited -FilterStartTime (get-date).adddays(-2) -FilterItemType IPM.Note | select Identity,Subject,LastmodifiedTime | Restore-RecoverableItems
shutdown -r -m \\PC-NAME -t 00
outlook.exe /manageprofiles
diskpart
sel disk 0
list vol
Verify that the EFI partition (EPS - EFI System Partition) is using the FAT32 file system. Assign a drive letter to it that is not already in use.):
sel vol <number of volume>
assign letter=<drive letter>:
exit
Sometimes fails:
cd /d <drive letter>:\EFI\Microsoft\Boot\
bootrec /FixBoot
ren BCD BCD.old
Boot letter below is letter from one assigned above for EFI partition
Pre-1709:
bcdboot c:\Windows /l en-us /s <boot letter>: All
Post-1709:
bcdboot c:\Windows /s <boot letter>: /f UEFI
%AppData%\Microsoft\Windows\Recent\AutomaticDestinations
f01b4d95cf55d32a.automaticDestinations-ms
This goes into functions.php
CHECK YOUR QUOTES WHEN PASTING
function gallery_canonical($url) {
return site_url($_SERVER[‘REQUEST_URI’]);
}
add_filter( ‘wpseo_canonical’, ‘gallery_canonical’ );
add_filter( ‘wpseo_opengraph_url’, ‘gallery_canonical’ );
Alternate version:
function gallery_canonical($url) {
return site_url($_SERVER[‘REQUEST_URI’]);
}
add_action(‘init’, function() {
add_filter(‘wpseo_canonical’ , ‘gallery_canonical’, 10,1);
add_filter( ‘wpseo_opengraph_url’, ‘gallery_canonical’ );
});
robocopy \\server1\d$\shared \\server2\d$\shared /E /COPYALL /LOG+:c:\file.log /TEE
get-mailbox | get-mailboxstatistics | ft displayname, totalitemsize