清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
<# " Satnaam WaheGuru Ji" Author : Aman Dhally E-Mail : amandhally@gmail.com website : www.amandhally.net twitter : https://twitter.com/#!/AmanDhally facebook: http://www.facebook.com/groups/254997707860848/ Linkedin: http://www.linkedin.com/profile/view?id=23651495 Date : 26-Sep-2012 File : Remote Office Times Purpose : Get The Remote Office Times Version : 1 my Spider runned Away :( #> # useful Links # http://www.timeanddate.com/ <- To get the DST and GMT Offset # Creating New Ps Object $RemoteTIme = New-Object -TypeName Psobject #TimeZone $Local = (Get-Date).ToShortTimeString() $Dubai = (Get-Date).ToUniversalTime().AddHours(4).ToShortTimeString() $Delhi = (Get-Date).ToUniversalTime().AddHours(5).AddMinutes(30).ToLongTimeString() $Singa = (Get-Date).ToUniversalTime().AddHours(8).ToShortTimeString() # Manchester used Day Light Time Saving so currenlty it is +1 Hours $Manch = (Get-Date).ToUniversalTime().AddHours(1).ToShortTimeString() # Adding Members to PS Object So that they Looks Nice $RemoteTIme | Add-Member -MemberType 'NoteProperty' -Name Loc -Value $Local $RemoteTIme | Add-Member -MemberType 'NoteProperty' -Name Del -Value $Delhi $RemoteTIme | Add-Member -MemberType 'NoteProperty' -Name Dub -Value $Dubai $RemoteTIme | Add-Member -MemberType 'NoteProperty' -Name Sin -Value $Singa $RemoteTIme | Add-Member -MemberType 'NoteProperty' -Name Man -Value $Manch # Display the Output to the console. $RemoteTIme | ft * -AutoSize ## End of the Script ## ##########################-| a m a n d h a l l y |-#########################