Office 365 Security: Tips and Tricks using Powershell monitoring Exchange Admin events.

What are Exchange Admin events? Events like adding, changing, or removing objects in your portal. Prerequisites: A modern version of Powershell, most Windows 10 and Windows 2016+ First create your session to your Office 365 portal: $Session = New-PSSession -ConnectionUri https://outlook.office365.com/powershell-liveid/ -ConfigurationName Microsoft.Exchange -Credential $credentials -Authentication Basic -AllowRedirection Run the search command in a script… Continue reading Office 365 Security: Tips and Tricks using Powershell monitoring Exchange Admin events.

Windows Server 2016 – 70-742 Powershell commands

Here’s a list of common Powershell Commands you might use or see on the 70-742 exam: Install ADDS Install-WindowsFeature AD-Domain-Services ntdsutil: Activate instance ntds, ifm, create sysvol full c:\ifm Install-ADDSDomainController -InstallationMediaPath c:\ifm Cloning: Get-ADDCCloneingExcludedApplicationList -GenerateXML New-ADDCCloneConfigFile Seizing Roles: 0 – PDC, 1 – RID, 2 – Infrastructure, 3 – Schema, 4 – Domain naming master… Continue reading Windows Server 2016 – 70-742 Powershell commands

Windows Server 2016 Exam – 70-741 PowerShell by Category

Here’s a list of popular Powershell commands categorized: IPv6: IPv4: New-NetIpAddress DNS: Sets to setup a zone scope in DNS. Add-DnsServerClientSubnet -Name “LocationSubnet” -IPv4Subnet “10.0.0.0/24” Add-DnsServerZoneScope -Zonename “MyDomain.com” -Name “LocationScope” Add-DnsServerResourceRecord -Zonename “MyDomain.com” -A -Name “www” -IPv4Address “10.0.0.100” -ZoneScope “LocationScope” Add-DnsServerQueryResolutionPolicy -Name “MyPolicy” -Action Allow -ClientSubnet “eq,LocationSubnet” -ZoneScope “LocationScope,1” -ZoneName “MyDomain.com” —————————————————————– Add-DnsServerClientSubnet: Prevent RRL… Continue reading Windows Server 2016 Exam – 70-741 PowerShell by Category

Windows Server 2016 Exam – 70-741 RRAS

CommandType Name Version Source ———– —- ——- —— Alias Get-VpnServerIPsecConfiguration 3.0.0.0 RemoteAccess Alias Set-VpnServerIPsecConfiguration 3.0.0.0 RemoteAccess Function Add-BgpCustomRoute 3.0.0.0 RemoteAccess Function Add-BgpPeer 3.0.0.0 RemoteAccess Function Add-BgpRouteAggregate 3.0.0.0 RemoteAccess Function Add-BgpRouter 3.0.0.0 RemoteAccess Function Add-BgpRoutingPolicy 3.0.0.0 RemoteAccess Function Add-BgpRoutingPolicyForPeer 3.0.0.0 RemoteAccess Function Add-DAAppServer 3.0.0.0 RemoteAccess Function Add-DAClient 3.0.0.0 RemoteAccess Function Add-DAClientDnsConfiguration 3.0.0.0 RemoteAccess Function Add-DAEntryPoint 3.0.0.0… Continue reading Windows Server 2016 Exam – 70-741 RRAS

SSTP or IKE on Virtual Machines – Quick and dirty.

It wasn’t quick to configure a client to successfully connect to a VPN through SSTP or IKE, but here are the takeaways. It can be easily done with three Virtual machines: 1 – Windows 2016 Server – ADSI,DHCP,DNS 192.168.100.1 2 – Windows 2016 Server – RRAS and AD Certificate with Web Enrollment. 192.168.100.111 / 10.0.3.1… Continue reading SSTP or IKE on Virtual Machines – Quick and dirty.

Windows Server 2016 Exam – 70-741 IPAM

CommandType Name Version Source ———– —- ——- —— Function Add-IpamAddress 2.0.0.0 IpamServer Function Add-IpamAddressSpace 2.0.0.0 IpamServer Function Add-IpamBlock 2.0.0.0 IpamServer Function Add-IpamCustomField 2.0.0.0 IpamServer Function Add-IpamCustomFieldAssociation 2.0.0.0 IpamServer Function Add-IpamCustomValue 2.0.0.0 IpamServer Function Add-IpamDiscoveryDomain 2.0.0.0 IpamServer Function Add-IpamRange 2.0.0.0 IpamServer Function Add-IpamServerInventory 2.0.0.0 IpamServer Function Add-IpamSubnet 2.0.0.0 IpamServer Function Disable-IpamCapability 2.0.0.0 IpamServer Function Enable-IpamCapability 2.0.0.0… Continue reading Windows Server 2016 Exam – 70-741 IPAM

Windows Server 2016 Exam – 70-741 DHCP

Here is a list of all the commands that come in the PS module DHCP Server: CommandType Name Version Source ———– —- ——- —— Alias Reconcile-DhcpServerv4IPRecord 2.0.0.0 DhcpServer Function Add-DhcpServerInDC 2.0.0.0 DhcpServer Function Add-DhcpServerSecurityGroup 2.0.0.0 DhcpServer Function Add-DhcpServerv4Class 2.0.0.0 DhcpServer Function Add-DhcpServerv4ExclusionRange 2.0.0.0 DhcpServer Function Add-DhcpServerv4Failover 2.0.0.0 DhcpServer Function Add-DhcpServerv4FailoverScope 2.0.0.0 DhcpServer Function Add-DhcpServerv4Filter 2.0.0.0… Continue reading Windows Server 2016 Exam – 70-741 DHCP

Windows Server 2016 Exam – 70-741 DNS

Here is a list of all the commands that come in the PS module DNS Server: CommandType Name Version Source ———– —- ——- —— Alias Export-DnsServerTrustAnchor 2.0.0.0 DnsServer Alias Get-DnsServerRRL 2.0.0.0 DnsServer Alias Set-DnsServerRRL 2.0.0.0 DnsServer Function Add-DnsServerClientSubnet 2.0.0.0 DnsServer Function Add-DnsServerConditionalForwarderZone 2.0.0.0 DnsServer Function Add-DnsServerDirectoryPartition 2.0.0.0 DnsServer Function Add-DnsServerForwarder 2.0.0.0 DnsServer Function Add-DnsServerPrimaryZone 2.0.0.0… Continue reading Windows Server 2016 Exam – 70-741 DNS