Automating Dell Command Update

@echo off TITLE Running DELL Command Update… REM Checks for updated DELL Drivers using DELL Command Update CLI “C:\Program Files\Dell\CommandUpdate\dcu-cli.exe” /configure -silent -autoSuspendBitLocker=enable -userConsent=disable “C:\Program Files\Dell\CommandUpdate\dcu-cli.exe” /scan -outputLog=C:\dell\logs\scan.log “C:\Program Files\Dell\CommandUpdate\dcu-cli.exe” /applyUpdates -reboot=disable -outputLog=C:\dell\logs\applyUpdates.log

Read More

Patch Tuesday Sources

https://www.ghacks.net/2023/02/14/microsoft-windows-security-updates-february-2023-overview/https://www.lansweeper.com/patch-tuesday/microsoft-patch-tuesday-february-2023/https://krebsonsecurity.com/2023/02/microsoft-patch-tuesday-february-2023-edition/https://www.tenable.com/blog/microsofts-february-2023-patch-tuesday-addresses-75-cves-cve-2023-23376https://patchtuesdaydashboard.com/https://www.zerodayinitiative.com/blog/2023/2/14/the-february-2023-security-update-overviewhttps://www.bleepingcomputer.com/news/microsoft/microsoft-february-2023-patch-tuesday-fixes-3-exploited-zero-days-77-flaws/

Read More

All Microsoft Admin Portals

From: Administrator Portals | Microsoft Portals (msportals.io) Administrator Portals Welcome to this community driven project to list all of Microsoft’s portals in one place. Microsoft 365 Admin Portals Microsoft 365 Admin Center https://admin.microsoft.com • aka.ms Old 🔗 Alt  Microsoft 365 Apps Admin Center https://config.office.com Exchange Admin Center (EAC) New https://admin.exchange.microsoft.com Exchange Admin Center (EAC) Old https://outlook.office365.com/ecp/ Kaizala Management Portal https://manage.kaiza.la/ Microsoft…

Read More

Best Practice to Secure Office 365

Best Practice to Secure Office 365

Read More

Troubleshooting Windows Hello for Business

https://github.com/onpremcloudguy/WHfBChecks   Implementing Windows Hello for Business, as outlined in my previous blog, is not so much difficult as it is tricky to get all of the little pieces in place. Often it comes down to one simple checkbox, setting, or configuration, and wham! it starts working. In this blog, I will outline the most common issues I’ve…

Read More

Renew SSL Cert vCenter

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | | | *** Welcome to the vSphere 6.8 Certificate Manager *** | | | | — Select Operation —…

Read More

Fix authentication issues in Office applications when you try to connect to a Microsoft 365 service

https://docs.microsoft.com/en-us/microsoft-365/troubleshoot/authentication/automatic-authentication-fails In this article Symptoms Cause Resolution Symptoms Authentication automatically fails in some Microsoft Office applications and Outlook may go into the “Need Password” state without any interaction. Additionally, when you make a Web Account Manager API call to FindAllAccountsAsync, you may see error code “-2147024809” in the AAD logs or Office Client logs.  Important This…

Read More

Best practices for Synology-based iSCSI in VMware vSphere environments

So I recently got a Synology NAS which I was intending to use to provide iSCSI LUNs out to my ESXi hosts. Upon initially configuring it I was having terrible performance and was ready to switch over to NFS. Googling this topic resulted in finding lots of posts about how a Synology-based iSCSI implmentation could…

Read More

Getting started with PowerCLI

  #Set the participation to false and ignore invalid certificates for all users Set-PowerCLIConfiguration -Scope AllUsers -ParticipateInCeip $false -InvalidCertificateAction Ignore #Connect to our vCenter Server using the logged in credentials Connect-VIServer PAC-vCSA01   Ignore Invalid Certs: Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false Useful commands: Get-Task – Shows currently running tasks Get-VM – Lists all VMs To list all snapshots and…

Read More

Unable to create an Outlook profile after a migration with Event 1098 in AAD log

Symptoms When you try to create a Microsoft Outlook profile after a domain migration, you receive an error message that indicates you can’t start Outlook or something went wrong. You also receive a sign-in prompt. Additionally, you may see the Event 1098 in Azure Active Directory (AAD) Operational log that resembles the following error: Error:…

Read More

Streamlined Migration of FRS to DFSR SYSVOL

First published on TECHNET on Jun 25, 2014 Hi folks, Ned here again. When telling people about the coming removal of FRS from Windows Server , the main response is usually: “Sure, I have occasional problems with FRS and know that I should upgrade to DFSR, but who has the time for a huge migration? That guide is very…

Read More

Microsoft 365 Business Shared Computer Activation

What is Shared Computer Activation? With a Microsoft 365 or Office 365 subscription that includes the Microsoft Office Desktop Applications, users can install and activate the desktop apps only on a limited number of devices, such as 5 PCs. If you have a scenerio where multiple users are connecting to or using the same computer…

Read More

Office 2016 Remove license

Open a command prompt as Administrator In the command prompt, type the following: Office 2016 (32-bit) on a 32-bit version of Windows cscript “C:\Program Files\Microsoft Office\Office16\OSPP.VBS” /dstatus Office 2016 (32-bit) on a 64-bit version of Windows cscript “C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS” /dstatus Office 2016 (64-bit) on a 64-bit version of Windows cscript “C:\Program Files\Microsoft Office\Office16\OSPP.VBS”…

Read More

Get mailbox and AD info and export it to a CSV file

When doing mailbox migrations it essential to know some information about the mailboxes for migration planning. When working with clients on migrations I provide a spread sheet that lets them assign users to “Move Groups” and set the target database. But the client needs to know where the mailboxes are, how large they are, and…

Read More

Network Printer Goes Offline on Windows

From time to time we notice that some connected network printers go offline, stop printing and print jobs begin to queue on the print servers running Windows Server. In this article we’ll consider why a network printer may go to offline state and how to fix this problem without printer re-installation or print server restart….

Read More

Correctly clean up WinSXS folder

One commonly asked question is can I delete the WinSxS folder to regain some disk space? The short answer is no. However, there are ways to reduce the size of the WinSxS folder. The component store (WinSxS folder) contains all the components that make-up Windows to allow you operate your system. These components are kept…

Read More

Export Remote Shares and Folder permissions using PowerShell

We have recently been looking to audit some Windows servers shares and permissions. I have previously used a script to export folder permissions, so some of this script will be from that previous script. The main difference is that we will be using WMI query to get the list of shares and a looping through…

Read More

Export Office 365 Users MFA Status to CSV

Export Office 365 Users MFA Status to CSV MAY 9, 2019EXCHANGE ONLINE, O365 POWERSHELL, OFFICE 365, OFFICE 365 REPORTS62 COMMENTS What is MFA? Multi-factor Authentication (MFA) plays a vital role in securing user accounts. As the name suggests, it uses multiple methods to identify an authorized user. You can get to know more about what is MFA, how it…

Read More

How to Connect PowerShell to Office 365 and Exchange Online

PowerShell is a great way to manage your Office 365 environment. It allows you to automate a lot of tasks by writing your own scripts or change settings with a single command. Now the first step, of course, is to Connect PowerShell to Office 365. There are two ways to connect to Office 365 in PowerShell….

Read More

How to configure NTP server in Active Directory, Step by step

If you want to know how to properly configure your Active Directory environment, including Domain Controllers and domain computers, to have a reliable time service working correctly and synchronizing with an external time server, this post shows how to do that in a very easy way.   Why?   Active Directory can’t work correctly if…

Read More

PowerShell disabled support for TLS 1.0 for the Gallery – Update-Module and Install-Module broken

Microsoft announced that the PowerShell Gallery has deprecated Transport Layer Security (TLS) versions 1.0 and 1.1 as of April 2020 To provide the best-in-class encryption to our customers Announcement, details and reasons can be found on DevBlogs.microsoft. Awesome news! … leaving Update-Module and Install-Module broken! Running Update-Module or Install-Module will now throw an error like one of the two following: Get-PSGalleryApiAvailability : PowerShell Gallery is…

Read More

Windows Robocopy Cheat Sheet

Below is a basic cheat sheet of robocopy commands. Wanna go crazy? Here! Like a GUI? :: Source Directory : /SD:\\server1.domain.com\d$\Backups :: Source Directory. :: Destination Directory : /DD:\\server2.domain.com\e$\Target :: Destination Directory. :: Include These Files : /IF :: Include Files matching these names :: *.* :: Include all names (currently – Command Line may…

Read More

FreeNAS Useful Commands

ZFS Code: zpool status -v #shows zpool status infos zpool iostat 1 #shows IOps and R/W bandwidth every second zfs list -t snapshot #lists all the snapshots, add | grep “” to filter arc_summary.py #shows ARC stats arcstat.py #shows ARC stats zdb -C your_pool_name | grep ashift #shows the ashift value SMART Code: smartctl -h…

Read More

Migrate only VMDK to another Datastore without Vcenter.

power off the VM make sure the VM doesn’t have active snashots!!! (i.e. no delta .vmdk files in the VM’s folder) create a new target folder on the destination datastore clone the virtual disk, using the following command vmkfstools -i /vmfs/volumes/source-ds/vm-folder/virtual-disk.vmdk /vmfs/volumes/target-ds/vm-folder/virtual-disk.vmdk if you want the destination virtual disk to become thin provisioned, append -d thin to the above…

Read More

Useful CMD and PowerShell Commands

Just a collection of commands, use at your own risk! How to Permanently Remove Deleted Users from Office 365 Connect-MsolService Get-MsolUser -ReturnDeletedUsers Remove-MsolUser -UserPrincipalName Lynn@office365bootcamp.com -RemoveFromRecycleBin Get-MsolUser -ReturnDeletedUsers | Remove-MsolUser -RemoveFromRecycleBin -Force How to copy a file to Hyper-V VM via Integration Services Copy-VMFile Win10 -SourcePath “File Location” -DestinationPath “File Location” -CreateFullPath -FileSource Host

Read More

Activate Office 2019 without any software.

After a series of preview versions, Microsoft finally came out with an official version of Office 2019. It is stable one, this means you can download and use it right now without worrying about fatal errors which you have gotten in beta versions before. However, I regret to inform that according to the disclosures, Microsoft…

Read More