• Windows Updates Script

    This is a little script which updates via PowerShell the operating system   #Define update criteria. $Criteria = “IsInstalled=0 and Type=’Software'” #Search for relevant updates. $Searcher = New-Object -ComObject Microsoft.Update.Searcher $SearchResult = $Searcher.Search($Criteria).Updates #Download updates. $Session = New-Object -ComObject Microsoft.Update.Session $Downloader = $Session.CreateUpdateDownloader() $Downloader.Updates = $SearchResult $Downloader.Download() #Install updates. $Installer = New-Object -ComObject Microsoft.Update.Installer $Installer.Updates =…

  • Exchange 2010 Spam Filtering transport rules

      I have just spotted in forums one easy way to definitely block spam emails for certain address on the old exchange 2010 Server. Probably you’ll never know whether you will find one of these relics still running in your environment. In any case here is the info : We will go into the hub transport –…

  • How to Remote Shell (PS) a Workgroup Nanoserver

    Scenario: Nanoserver on hyper-v enviorment Nanosever not joined into the domain ( WORKGROUP )   First of all enable into your nanoserver al WINRM options 2. Review your nanoserver firewall rules regarding WRM 3. ENSURE THAT NANOSERVER HAS A LOCAL IP CONFIGURED EITHER A DHCP RESERVATION   4. Let the magic happen: Let the server trust !…

  • Installing Nanoserver VM

    Today we are going to dive in Nanoserver deployments Some characteristics regarding the new nanosilver windows server edition : Nano Server is headless; it has no local user interface, no 32-bit application support, and only the most basic configuration controls. There is no support for Remote Desktop; to administer the system, you use Windows Remote Management (WinRM) remote…

  • DISM command to upgrade an evaluation Server2016 (all editions)

    This is applicable to all editions   First of all, we will run this command in order to get the actual version available to upgrade ( in this case is the  serverdatacenter eval version )   Afterwards, we can successfully run the last command which will upgrade so dism /online /set-edition:serverdatacenter /productkey:xxxx-xxx-xxx-xxx /accepteula Lat command…