Get-WmiObject Win32_OperatingSystem
Get-Date
Get-Credential
Disconnect-PSDrive Z
Get-EventLog -LogName Application -After (Get-Date).AddDays(-1) -EntryType Error
Get-SmbShare
Get-ADUser -Filter 'Enabled -eq True'
Get-Process | Where-Object {.CPU -gt 100}
Invoke-Command -ComputerName DC01 -ScriptBlock { gpupdate /force }
Get-ADObject -LDAPFilter '(objectCategory=computer)'
Get-Service | Where-Object {.Status -eq 'Running'}
Get-ADGroupMember 'Domain Admins'
Get-WmiObject -Class Win32_Process | Where-Object {.Name -like '*spoolsv*'}
Get-ADObject -LDAPFilter '(objectCategory=computer)'
Get-LocalGroupMember -Group 'Administrators'
Get-Content C:\\Scripts\\deploy.ps1
Get-EventLog -LogName Application -After (Get-Date).AddDays(-1) -EntryType Error
New-PSDrive -Name Z -PSProvider FileSystem -Root \\\\DC01\\SYSVOL
Get-NetIPAddress
Restart-Service -Name 'WinRM'
Get-NTFSAccess -Path C:\\SYSVOL
Get-ADUser svc_backup -Properties lastLogonTimestamp
Disconnect-PSDrive Z
Get-ADServiceAccount -Filter * -Properties *
Get-ADComputer -Filter *
Test-NetConnection google.com
Get-Service -Name WinRM | Format-List *
Get-Content C:\\Users\\svc_backup\\AppData\\Local\\Temp\\deploy.log
Test-NetConnection google.com
Get-Service | Where-Object {.Status -eq 'Running'}
Get-Date
Invoke-Command -ComputerName DC01 -ScriptBlock { gpupdate /force }
hostname
hostname
Get-Service | Where-Object {.Name -like '*crypt*'}
Get-ADOrganizationalUnit -Filter *
Get-Command -Module ActiveDirectory
whoami
hostname
Get-NetFirewallProfile
Get-EventLog -LogName Security -InstanceId 4648 -Newest 100
Test-Connection -ComputerName dc01.novatech.local
Get-SmbSession
Get-Content C:\\Users\\svc_backup\\AppData\\Local\\Temp\\deploy.log
Copy-Item -Path C:\\Temp\\* -Destination Z:\\Backup\\
Get-LocalGroupMember -Group 'Administrators'
Get-EventLog -LogName Application -After (Get-Date).AddDays(-1) -EntryType Error
Get-HotFix -Id KB5005565
whoami
Get-Content C:\\Scripts\\deploy.ps1
Get-WmiObject -Class Win32_NetworkAdapterConfiguration | Format-Table Description,IPAddress,MACAddress
Add-Content -Path C:\\Scripts\\deploy.ps1 -Value '# Deployment script updated'
Get-HotFix -Id KB5005565
Get-HotFix -Id KB5005565
Get-EventLog -LogName Security -InstanceId 4648 -Newest 100
Get-HotFix -Id KB5005565
Get-SmbOpenFile
Get-EventLog -LogName Security -InstanceId 4648 -Newest 100
Get-EventLog -LogName Security -InstanceId 4672 -Newest 50
Get-LocalGroupMember -Group 'Administrators'
Get-ADOrganizationalUnit -Filter *
Get-Process | Where-Object {.CPU -gt 100}
Set-ExecutionPolicy RemoteSigned -Scope Process
Restart-Service -Name 'WinRM'
Remove-Item C:\\Temp\\old_log.log -Force
Get-Command -Module ActiveDirectory
Get-Command -Module ActiveDirectory
hostname
Get-NetFirewallProfile
Get-Date
Get-ADOrganizationalUnit -Filter *
cls
Get-EventLog -LogName Application -Newest 50
Start-Sleep -Seconds 10
Get-ScheduledTask
New-Item -Path C:\\Temp -ItemType Directory
Get-Service | Where-Object {.Name -like '*crypt*'}
Get-ADPrincipalGroupMembership svc_backup
Get-WmiObject Win32_OperatingSystem
Get-NTFSAccess -Path C:\\SYSVOL
Get-ADGroup -Filter *
Import-Module ActiveDirectory
Get-ADServiceAccount -Filter * -Properties *
Get-HotFix -Id KB5005565
Get-EventLog -LogName Security -InstanceId 4648 -Newest 100
Get-NetIPAddress
Get-EventLog -LogName Application -Newest 50
Get-Service -Name WinRM | Format-List *
Get-ADGroup -Filter *
Get-ChildItem -Recurse C:\\Scripts\\
Get-WmiObject Win32_OperatingSystem
Get-EventLog -LogName Application -After (Get-Date).AddDays(-1) -EntryType Error
Get-EventLog -LogName Security -InstanceId 4648 -Newest 100
Get-ADServiceAccount -Filter * -Properties *
Get-SmbSession
Get-WinEvent -FilterHashtable @{LogName='Directory Service';Id=4662} -MaxEvents 50
Get-LocalGroupMember -Group 'Administrators'
whoami
systeminfo
Get-WmiObject Win32_Service | Where-Object {.StartMode -eq 'Auto'}
Get-ADComputer -Filter *
Get-ScheduledTaskInfo -TaskName 'DailyBackupJob'
Get-Service | Where-Object {.Status -eq 'Running'}
Get-Credential
Get-ADServiceAccount -Filter * -Properties *
New-PSDrive -Name Z -PSProvider FileSystem -Root \\\\DC01\\SYSVOL
New-Item -Path C:\\Temp -ItemType Directory
Set-ExecutionPolicy RemoteSigned -Scope Process
Start-Sleep -Seconds 10
Get-SmbOpenFile
Get-ADComputer -Filter *
Get-ScheduledTask
Get-NetFirewallProfile
hostname
Get-ChildItem -Recurse C:\\Scripts\\
Get-NetFirewallProfile
Get-Command -Module ActiveDirectory
Import-Module ActiveDirectory
Get-Process -Name powershell
Test-Connection -ComputerName dc01.novatech.local
