Monthly Archives: July 2013

Managing Downlevel Windows-based Servers from Server Manager in Windows Server 2012 – Server Manager – Site Home – TechNet Blogs

Managing Downlevel Windows-based Servers from Server Manager in Windows Server 2012 – Server Manager – Site Home – TechNet Blogs.

Advertisements

Find Lost Word document edited from Outlook attachment using Powershell

get-childitem (Get-ItemProperty HKCU:\Software\Microsoft\Office\14.0\Outlook\Security | select -expand  OutlookSecur
eTempFolder) | sort lastwritetime -Descending

The registry path in the example is for Outlook 2010. Other versions registry are listed below

Outlook 98

HKEY_CURRENT_USER\Software\Microsoft\Office\8.5\Outlook\Security

Outlook 2000

HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Outlook\Security

Outlook 2002/XP

HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Outlook\Security

Outlook 2003

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Security

Outlook 2007

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Security

Outlook 2010

HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security

Dont be afraid of DNS Scavenging. Just be patient. – Microsoft Enterprise Networking Team – Site Home – TechNet Blogs

Dont be afraid of DNS Scavenging. Just be patient. – Microsoft Enterprise Networking Team – Site Home – TechNet Blogs.

Using PowerShell to Get or Set NetworkAdapterConfiguration-View and Change Network Settings Including DHCP, DNS, IP Address and More … | ITProGuru Blog

Using PowerShell to Get or Set NetworkAdapterConfiguration-View and Change Network Settings Including DHCP, DNS, IP Address and More Dynamic AND Static Step-By-Step | ITProGuru Blog.

Troubleshooting WMI just became a little easier | TechRepublic

Troubleshooting WMI just became a little easier | TechRepublic.

Enable smartcard logon for a user using Powershell

 Get-ADUser -Filter {samaccountname -eq "UserLogin"} | Set-ADUser -SmartcardLogonRequired $true

Find special folders using Powershell

Use .NET Environment class


PS> [environment]::GetFolderPath('Desktop')

If you wanna know what special folders are “available” just put in nonsense as an argument. The error message that you’ll get will tell you


PS> [environment]::GetFolderPath('blah')

Cannot convert argument “folder”, with value: “blah”, for “GetFolderPath” to type “System.Environment+SpecialFolder”: ”
Cannot convert value “blah” to type “System.Environment+SpecialFolder”. Error: “Unable to match the identifier name bla
h to a valid enumerator name.  Specify one of the following enumerator names and try again: Desktop, Programs, MyDocume
nts, Personal, Favorites, Startup, Recent, SendTo, StartMenu, MyMusic, MyVideos, DesktopDirectory, MyComputer, NetworkS
hortcuts, Fonts, Templates, CommonStartMenu, CommonPrograms, CommonStartup, CommonDesktopDirectory, ApplicationData, Pr
interShortcuts, LocalApplicationData, InternetCache, Cookies, History, CommonApplicationData, Windows, System, ProgramF
iles, MyPictures, UserProfile, SystemX86, ProgramFilesX86, CommonProgramFiles, CommonProgramFilesX86, CommonTemplates,
CommonDocuments, CommonAdminTools, AdminTools, CommonMusic, CommonPictures, CommonVideos, Resources, LocalizedResources
, CommonOemLinks, CDBurning
“”
At line:1 char:1
+ [environment]::GetFolderPath(‘blah’)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodException
    + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument

PS>

smsagent

Tips, tricks and time-savers for the Windows and ConfigMgr administrator

To The Point

Anything about Technology and Business

Brian's Power Windows Blog

Microsoft in the Enterprise. Windows, Hyper-V, Exchange, SQL, and more!

PowerScripting Podcast

Shownotes and links for the PowerScripting Podcast, a podcast to help people learn Windows Powershell

Learn Powershell | Achieve More

What is this Powershell of which you speak?