Get BIOS version
wmic bios get smbiosbiosversion
wmic bios get smbiosbiosversion
The Service has returned a service-specific error code (8007042a).
Set-RemoteAccessAccounting -DisableAccountingType ExternalRadius
taskkill /IM “yourprocess.exe” /F
dism /Online /add-Capability /CapabilityName:Print.Management.Console~~~~0.0.1.0
*[System[(EventID=4624)]] and *[EventData[Data[@Name='LogonType'] and (Data=2)]]
Get-ADUser -Filter * -Properties LastLogonDate | Sort -Property LastLogonDate | FT Name, LastLogonDate
Get-ADUser -Filter * -Properties lastLogontimeStamp | Sort -Property lastLogontimeStamp | FT Name, lastLogontimeStamp
Get-ADUser -Filter * -Properties passwordlastset | Sort -Property passwordlastset | FT Name, passwordlastset
Get-ADDomaincontroller -Filter * | % {$DC = $_.name ; Get-ADuser COMPUTERNAME -properties * -Server $_.name | select @{n="LastLogon";e={[datetime]::FromFileTime($_.lastlogon)}},@{n="DC";e={$DC}} }
$DateCutOff = (Get-Date).AddDays(-30)
Get-ADUser -Filter * -Properties whenCreated | where {$_.whenCreated -gt $DateCufOff} | FT Name, whenCreated
runas /u:DOMAIN\USER notepad.exe
wmic UserAccount set PasswordExpires=False
https://pivkey.zendesk.com/hc/en-us/articles/203863255-Self-enrolling-a-Smart-Card-Certificate
To change the User PIN type:
pivkeytool –changepin “111111” –userpin “000000”
pivkeytool –unblockpin “111111” –userpin “000000”
To change the Admin Key type:
pivkeytool –changeadminkey “111111111111111111111111111111111111111111111111” –adminkey “000000000000000000000000000000000000000000000000”
Delete a cert from SC:
certutil -scinfo
certutil -delkey -csp “Microsoft Base Smart Card Crypto Provider” “CertReq-PIVKeyC980-00000000-df58–00000”
youtube-dl –list-formats URL-to-Video
then
youtube-dl -f FORMAT_NUMBER_FROM_ABOVE URL-to-Video
This is for either app but I’ve found t