Unexpected Get-ChildItem -recurse results
Can anyone explain this output when using the Get-ChildItem cmdlet to list files in a folder that doesn’t exist? For example:
Users who haven’t logged in within 90 days
I want to know the user details who are all not logged on more then 90days with last logon. Also I am using Get-LastLogon
function like below.
My question is : How can I write filter for $LogonDate = (Get-LastLogon -Identity $_.SamAccountName).DateTime
?
Compare between 2 different dates via powershell
I want to compare cutoffDate and LogonDate variables. I am using a function called Get-LastLogon. But it’s not working properly.
Are there well-known PowerShell coding conventions?
Are there any well-defined conventions when programming in PowerShell?
How is Pash licensed?
Pash is an open source reimplementation of Windows PowerShell. It was released in 2008, and has been idle since then. I would like to take up the mantle.
How to remove the first character till the space in powershell
write-output $devtags2
How to remove the first character till the space in powershell
write-output $devtags2
Powershell Invoke-Webrequest keep continue after timeout even with -TimeouSec at 30
I have a powershell script that call website link to get the html code of many website page.
And here’s the code :
Powershell: How to recursively copy one folder to another directories sub folders
I can’t wrap my head around a forEach command.
Get current path to get file version
This is probably a simple question but I haven’t been able to figure out how to solve it. I just want to get the version of a file in the current directory after downloading it. I know there are about 5 ways to get the file version and none of them work.