Archive for the ‘PowerShell’ Category

快捷备份以及恢复系统驱动程序

Wednesday, November 23rd, 2022 at 13:37 | 0 comments
Tags:

In my case Application was using Port 25 and using the app custom connector on load balanced Exchange 2016 servers and message rate limit was set to unlimited. Get-ReceiveConnector SERVERNAME\* | FT Name,bindings,MessageRateLimit

Tuesday, September 27th, 2022 at 17:27 | 0 comments
Tags:

Notice that in Active Directory Users and Computers (ADUC) when setting the expiration of a user account, there’s only a way to have the account expire at the end of a specific day: The same option exists in the Active Directory Administrative Center (ADAC):

Tuesday, September 20th, 2022 at 14:51 | 0 comments
Tags:

Researching silent options is just a onetime effort for you and saves you lot of time. This script is useful for sys admins who prepare desktops, laptops or deploy servers. .csv file contains data in comma separated values format and looks like this… Installer,Switch Firefox Setup 72.0.2.msi,/qn AnyDesk.exe,–install “C:\Anydesk” –start-with-win –silent –create-shortcuts –create-desktop-icon 7z1900-x64.msi,/qn Chef-client-15.7.32-1×64.msi,/qn […]

Thursday, July 28th, 2022 at 11:47 | 0 comments
Categories: PowerShell, Technology
Tags:
Friday, June 17th, 2022 at 09:16 | 0 comments

Step #1: This is the simplest method to add a computer to a domain. In this example you will be prompted for credentials followed by the required reboot. Add-Computer -DomainName “your.domain.here” Restart-Computer Step #2: If you require an automated script without prompting the user for credentials you can provide the user account with rights to […]

Thursday, May 12th, 2022 at 09:34 | 0 comments

The Server Message Block (SMB) network protocol is used to share and access folders, files, printers, and other devices over network (TCP port 445). In this article, we will look at which versions (dialects) of SMB are available in different versions of Windows (and how they relate to samba versions on Linux); how to check the SMB version in […]

Saturday, November 27th, 2021 at 01:12 | 0 comments
Categories: PowerShell, Technology
Wednesday, December 25th, 2019 at 00:06 | 0 comments
Tags:

https://gallery.technet.microsoft.com/Windows-Backup-wbadmin-2014479e

Wednesday, September 18th, 2019 at 13:54 | 0 comments
Tags:

Block 1: Connect to the WSUS server and set the configuration. We are first going to set the property “Download update files to this server only when updates are appoved”, turn off all update languages, and then set the only update language to English. At the end, this would all be pointless if we didn’t […]

Wednesday, September 18th, 2019 at 13:50 | 0 comments
Tags: