.Net Framework Setup Verification Tools Guide
Direkt links
.Net Setup Verification tool
.Net Framework Repair Tool

Tro inte på allt du tror!
I certanly dont recommend this but this is what worked ….
$User = ""
$Users = ""
$Users=Get-ADUser -filter * | select SamAccountName
foreach ($User in $Users)
{
set-ADUser -identity $User.SamAccountName -clear legacyExchangeDN
set-ADUser -identity $User.SamAccountName -clear mailNickname
set-ADUser -identity $User.SamAccountName -clear msExchHomeServerName
set-ADUser -identity $User.SamAccountName -clear msExchMailboxGuid
set-ADUser -identity $User.SamAccountName -clear msExchMailBoxSecurityDescriptor
set-ADUser -identity $User.SamAccountName -clear msExchPoliciesIncluded
set-ADUser -identity $User.SamAccountName -clear msExchRBACPolicyLink
set-ADUser -identity $User.SamAccountName -clear msExchRecipientDisplayType
set-ADUser -identity $User.SamAccountName -clear msExchRecipientTypeDetails
set-ADUser -identity $User.SamAccountName -clear msExchTextMessagingState
set-ADUser -identity $User.SamAccountName -clear msExchUMDtmfMap
set-ADUser -identity $User.SamAccountName -clear msExchUserAccountControl
set-ADUser -identity $User.SamAccountName -clear msExchUserCulture
set-ADUser -identity $User.SamAccountName -clear msExchVersion
set-ADUser -identity $User.SamAccountName -clear proxyAddresses
set-ADUser -identity $User.SamAccountName -clear showInAddressBook
}
Good to know, Good to not have to remember…
Startar om maskinen 23.00, kör som system, tar bort schemat efter utfört uppdrag…
[codesyntax lang=”powershell” container=”none”]
schtasks /create /RU "SYSTEM" /RL "HIGHEST" /sc once /tn "Restart Once" /tr "shutdown /r /t 010 /f /c RestartOnce" /st 23:00 /V1 /Z
[/codesyntax]
Öppna registereditorn genom att skriva regedit i sökfältet i startmenyn.
Bläddra fram följande nyckel: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Messaging Subsystem\.
(Om du har 64-bitars operativsystem hittar du samma nyckel under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows Messaging Subsystem\)
Kontrollera att MAPI, MAPIX och MAPIXVER finns upplagda med datavärden 1, 1 respektive 1.0.0.1.

Om exempelvis MAPI inte finns upplagd högerklickar du i det högra fältet och väljer Nytt – Strängvärde. Ge det nya strängvärdet namnet MAPI. Tryck enter och dubbelklicka sedan på namnet MAPI.
Skriv 1 i Data och klicka OK.
Filtrera ut olika saker med WMI filter i Grouppolicy
Exempel:
SELECT Version, ProductType from Win32_OperatingSystem Where Version like ”6.1%” and ProductType = ”1” = Window 7 klienter
SELECT Version, ProductType from Win32_OperatingSystem Where Version like ”6.3%” and ProductType = ”1” = Window 8 klienter
SELECT Version, ProductType from Win32_OperatingSystem Where Version like ”10.0%” and ProductType = ”1” = Window 10 klienter
Select Caption,ProductType from Win32_OperatingSystem Where Caption LIKE ”%Windows 10%” and ProductType=”1″ = Windows 10 .. ok 2016
Filtrerar ut alla maskiner med version 6.1% samt har ProductType = 1 (1= Client, 2=Server, 3=Member server)
In this example GPO will be used to push an SSID configured for machine authentication using PEAP-MSCHAPv2 to Windows 7 domain member systems.
1. Open the domainGroup Policy Managementsnap-in.
2. Create a new GPO or use an existing GPO.
3.Editthe GPO and navigate to Computer Configuration>Policies> Window Settings>Security Settings>Public Key Policies>Wireless Network (IEEE 801.X) Policies.
4.Right ClickWireless Network (IEEE 801.X) Policiesand chooseCreate a New Windows Vista Policy.
5.Provide aVista Policy Name:
6.ClickAddforConnect to available networks…
7.ChooseInfrastructure.
8.On theConnectiontab, provide aProfile Name:and enter the SSID of the wireless network forNetwork Name(s).ClickAdd.
9.Click theSecuritytab. Configure the following:
Authentication:WPA2-Enterprise or WPA-Enterprise
Encryption:AES or TKIP
Network Authentication Method:Microsoft: Protected EAP (PEAP)
Authentication mode: User Authentication
10. ClickProperties.
11.ForTrusted Root Certification Authoritiesselect the check box next to each CA in the Active Directory PKIinfrastructure and clickOK.
OR Choose to ignore cert by just removing ”Validate Server Certificate”
12.ClickOK toclose out and clickApplyon wireless policy page to save the settings.
13.Apply the GPO to the domain or OU containing the domain member computers.
Filter computer with WMI is handles on another post
AKA office 16 !
Size: Office 365 ProPlus are approximately 850 mb for the core files plus approximately 200 mb for each language deployed (1GB)
Update: You can continue to receive updates for the Office 2013 version of Office 365 ProPlus until September 2016.
After September 2016, there will be no additional updates for the Office 2013 version.
If you’ve configured your users to get updates directly from the Office Content Delivery Network (CDN) on the Internet, the update to
Office 2016 is scheduled to begin in February 2016.
At that time, the Office 2016 files will be automatically downloaded to users’ computers and the update of Office 365 ProPlus will occur.
If you don´t want these users to be updated automatically, configure them, before February, to get updates from a location on your
internal network.
Installing from the Office 365 portalUntil February 2016, the version of Office 365 ProPlus that gets installed from the
Software page on the Office 365 portal will remain the Office 2013 version.
In February that will change to the Office 2016 version and it will be the Current Branch for Business release.
If, before February, you want some or all of your users to be able to install the Office 2016 version of Office 365 ProPlus from the
Software page, you can enable the First Release program for Office 365 and select which users you want to include.
Those users can then install either the 2013 or 2016 versions from the Software page.
Enable FirstRelease this way: Go to Admin center -> Service Settings -> updates -> Choose Select people and choose the
persons or Entire organization.
Admin Tools
Hantera AD grupper m.m. med Powershell
import-module activedirectory
Get-ADUser -Filter {(Enabled -eq $true)} -searchbase ”ou=RDS,dc=HR,dc=local”
get-adgroupMember ”RDS_Monitor_Users” -recursive | select-object Name
Enklare robocopyscript som skall köras från destinations disken.
Kräver inte elevering
Nyttja det genom att placera på usb stick eller liknande och den syncar source till dest samt återskapar fil strukturen utan ”:” samt loggar.
@echo off
Set Source=c:\programdata\spcs
robocopy %Source% %~dp0backups\backup\%Source::=%\ /e /purge /R:1 /W:1 /TEE /LOG+:%~dp0backups\BackupLog.txt
Set Source=C:\ProgramData\SPCSData
robocopy %Source% %~dp0backups\backup\%Source::=%\ /e /purge /R:1 /W:1 /TEE /LOG+:%~dp0backups\BackupLog.txt
Set source=Set source=%userprofile%
robocopy %Source% %~dp0backups\backup\%Source::=%\ /XD AppData /e /purge /R:1 /W:1 /TEE /LOG+:%~dp0backups\BackupLog.txt
echo.
echo.
echo Backuppen klar!
pause
Enklare filsync utan MIRROR dock med logfile med datum och tid…
rem @echo off
Set Source=\vdc01.env.local\program
set Dest=D:\program
Set LogFile = %dest%\Sync\SYncLog-%DATE:~0%–%time:~0,2%%time:~3,2%%time:~6,2%.txt
rem Set the drive to use when syncing…
net use S: %Source%
robocopy %Source% %dest% /e /R:1 /W:1 /TEE /LOG+:%LogFile%
rem Delete the drive used to sync data
net use s: /delete /y