Author: ivan
-
PSWriteHTML is awesome
Recently I was playing with the excellent PSWriteHTML powershell module and ended up creating a dashboard from events. Since I had a hard time going through all of the dashboard option, I’ve decided to share what I did, may be it will help someone. The example script requires PSWriteHTML module installed. Event properties I got…
-
SCCM – Upgrade Microsoft Office
Recently I had the task to upgrade Microsoft Office from 2010 to 2016 (I now it’s year 2020 now 🙂 using SCCM. I was thinking that it shouldn’t be a big deal, but…. it turned out differently. There was lync client, custom add-in, old office uninstall failed with random errors… To cut the long story…
-
PowerShell HTML System Report
I’ve been playing with HTML in PowerShell and ended creating not so bad script including function that creates HTML report with system info for a remote computer/server. In includes Operating System, CPU, Memory and Hard Disk, CD-Rom Info which are exported to a html file. It’s not a piece of art, have some basic error…
-
WSUS on secondary SCCM site
WSUS on Secondary Site Generally speaking if everything is OK you install WSUS role with the same setup as your primary site, launch the console once, close it, install SUP from the SCCM and configure it and that’s it. However, sometimes the WSUS breaks and when that happens it is usually a pain to…
-
Server Core 2012 R2 Thoughts
Server 2012 R2 Core Thoughts Auto configured IP address is preferred – Solved Duplicated IP PoshFix Enable Remote Administration – Done – sconfig OR Check Firewall– Get-NetFirewallProfile Set Firewall – Set-NetFirewallProfile –Name Domain –Enabled False Check Remote Desktop -Get-ItemProperty -Path “HKLM:\System\CurrentControlSet\Control\Terminal Server” the one we’re interested is “fDenyTSConnections” – must be 0 Set Remote Desktop…
-
Microsoft Windows Security Audit Event Accesses IDs
I’m working on a powershell script extracting the file server audit log and creating a human readable html out of it when I got stumbled by the beautiful codes below (which are really hard to find) and decided that they deserve a re-post. Thanks to this guy for translating them. The list below is from…
-
Install Primary and Additional Domain Controller With PowerShell Cheat Sheet
# # Windows PowerShell script for AD DS Deployment #Do no forget to rename the computer, set static IP, enable remote desktop if needed and so on # Install-WindowsFeature AD-Domain-Services Install-ADDSForest ` -CreateDnsDelegation:$false ` -DatabasePath “C:\Windows\NTDS” ` -DomainMode “Win2012” ` -DomainName “domain.name.com” ` -DomainNetbiosName “DOMAIN” ` -ForestMode “Win2012” ` -InstallDns:$true ` -LogPath “C:\Windows\NTDS” ` -NoRebootOnCompletion:$false…
-
Reopen Closed PowerShell Window – Server Core
Few days ago I managed to close my powershell window during an remote desktop session to a core server and I stumbled silly into the empty screen 🙂 After googling for a while I learned that your savior in this situation is: CTRL + ALT + END Give it a try, it is really worthy!