Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Browsing all 6937 articles
Browse latest View live

Here’s how PowerShell JEA controls can save you from an attack

In a nutshell, JEA lets your admins do their jobs without the need for unlimited access. In this sense, you’re providing them with just a few keys, rather than the master copy. We’ll dig deeper on how...

View Article


Wiki Life: PowerShell PowerPack!

Today's post is a quick one, but it's something close to my heart! I'm constantly writing Wiki articles and blog posts about PowerShell. PowerShell is awesome, and so many tasks can be simplified using...

View Article


Copy-toZip Woes

Im back again, I have been working with many variations of copy-to zip using  for-each($_. in $Variable) Copy-tozip...dir C:\Photos\*.JPG | Copy-ToZip -ZipFile C:\Photos2Looks to be the simplest method...

View Article

Setting up link to O365 Tenancy

Hi Guys, i am looking for a way within Powershell Pro (by idera) to setup a connection i can click on to connect me to a specific tenancy in office 365. I work on a number of tenancies and it would be...

View Article

Disable Local user on a 2012 r2 server

I got this figured out on a 2008 server, but it does't work on a 2012 r2.  I would love to get some Ideas of where I can look up figuring out on my own how to get this script working on a 2012...

View Article


Getting Zippy with PowerShell v5

With PowerShell v5 we get two new cmdlets Compress-Archive  and and Expand-Archive. Here’s a couple of examples of how they work.Read More

View Article

Powershelll for Servicenow

Hi,I am new in powershell. Can anybody explain me how to use powershell in servicenow to pul data from AD through MIDServer?

View Article

how to tick a box?

Get-ADUser SmithJ -Properties *   this of course works and one of the properties it returns is:  ProtectedFromAccidentalDeletion    : False   How do you change that to :TRUE ?   We have an OU with...

View Article


ugg雪靴 agcm lodf ezbn

紐巴倫999,冥冥中似乎是聽見了張寧的呼喚,張角眼皮微微有些顫動,過了良久,才顫顫巍巍的睜開了眼睛。管亥吃了一喜,疾奔至床前,張角卻似沒有看見其一般,雙目大張,直愣愣的盯著屋頂,嘴唇翕合,看唇形,依稀是寧兒二字,卻無聲音發出。管亥悲痛,知道如今張角乃是迴光返照了,只是張寧此時已經被送去諸葛靖那裡,卻是見不到最後一面了。正是:誰道是男兒有淚不輕彈,只因未到傷心處啊!管亥的動靜終是驚動了府中的下人,待及...

View Article


雷朋 ryjb qatl wwlk

呀……步度根的親衛,也不是吃素的,一個兩個人不低張飛,如今卻是數之不清的人,在一眾親衛的拼死抗擊下,頓時將張飛的腳步擋住了,氣的張飛在外哇哇大叫, ugg...

View Article

get hr from time stamp in a text file

how to get just hours from time stamp hr:min:sec from a text file.There are varible logs entries (ex: 1st has 3 , 2n has 10 etc )to each hr in the log text file. I should be able to pic hourly entries...

View Article

Export to CSV AD users Last logon quering all DC's from specific OU's

HI allI am having some issues writing a script that get me accurate results. I'm using Quest cmdlets to query and return last logon results for users in a specific OU. Whilst my script runs without...

View Article

ray ban sqpt ndpp fsqv

抬起頭看看天色,此時日頭已經落下山了,夜色漸漸濃了起來,他領兵前來之時,並沒有準備火把之類的照明之物,遠處稍遠的地方,早已看得不大清楚,三千大軍便踏著夜色,摸黑沿著原路向回行去,誰也沒有註意到,小山丘上徐晃的營寨中,幾個斥候模樣的人悄悄地自另一處寨門翻了出去,向著之前徐晃佈置伏兵的地方奔了過去。昏黑的道路上,關羽大軍有些嘈雜的行進著,不少的士卒仍舊停頓在之前那短暫的交手當中,興奮的與身邊的胞澤訴說著...

View Article


A question about Start-Job and Wait-Job

HelloCan someone please help me with the following question.I understand PowerShell is executed from top to bottom and from left to right (like reading a book)I also understand the pipeline is executed...

View Article

ugg雪靴 qzez sxyb imms

紐巴倫,一念及此,千葉再也沒有絲毫猶豫,將自己所見過的道法,無論靈氣的使用形態,還是五行之氣的駕馭之道,極其道法使用的時候所有的動作,哪怕受傷的法印,都照著記憶,原原本本地給朱妍兒敘述。一開始朱妍兒對這種摸索般的亂打亂撞極為懷疑,可是不斷嘗試之後,竟然讓自己倒騰出好幾種怪異的法術,雖然效果離千葉所描述的有所誤差,可是體內的靈氣形態,身體的氣勢卻是絲毫不差。紐巴倫998,千葉為此,也高興了好久。這恐怕...

View Article


Error moving my own PC

I have this code that you guys helped me right.$computers = (get-ItemProperty hklm:\SOFTWARE\Microsoft\MPSD\OSD).OSDComputerName $GetOU = (get-ItemProperty...

View Article

Dior cddw jzdu hrmv

徐晃見良久得不到答复,只餘一聲長嘆迴盪在耳邊,只覺得自己好像已經明白了,心頭頓時有些失落,跟著也是長嘆了一聲。兩人情緒不高,頓時將渾身正殺氣瀰漫的關羽忘卻了,三人三騎,一時間竟詭異的安靜下來。卻說這任峻,本是河南郡中牟人,若是按照其原本的軌跡,此時的 ugg...

View Article


[PowerShell] Monitor Event Logs

I have always wondered if there is a good way to tail the Windows event log. (like $tail -f /var/log/messages)I can get the contents of the Event Log by "Get-EventLog" command but I have to run the...

View Article

Find any Windows Server OS running IIS or Stopped?

Hello,I'm looking for a script that I can run to find any Windows 2003, 2008 or 2012 Server in our AD domain and in a workgroup that has IIS installed running or not.Any help you be greatly...

View Article

Getting web server information through WMI

Specifically, what I want to do is determine the value of SSLFlags, especially SSLRequireCert. On servers which have an applicationhost.config file at \\server\admin$\system32\inetsrv\config, I can...

View Article
Browsing all 6937 articles
Browse latest View live