All Questions
Tagged with powershell-3.0 powershell-5.0
11
questions
1
vote
1
answer
436
views
validate particular column and its value using powershell
Validate Status Column using powershell. If any status column contain Not-compliant then overall status column needs to be displayed not-compliant. Attached data for your reference.
Trying below code ...
0
votes
1
answer
407
views
Export data to excel by creating instance of the Excel.Application object in PowerShell
Currently i'm using ImportExcel module to fetch data from multiple csv file and export in single excel file. But due to network restriction from this month I am not able to install importexcel module. ...
1
vote
1
answer
772
views
Copy files and only the parent folder the file resides
Copying files but not all the folders, just the one parent/relative folder in which contains the files.
Folder and Files structure:
ExcelData (Folder)
a. File1.xlsx
b. File2.xlsx
c. File3.xlsx
d. ...
2
votes
1
answer
2k
views
Powershell script to capture Screenshot
Don't want to use third party tool and module.
$ie = New-Object -ComObject InternetExplorer.Application
$ie.Visible = $true
$ie.Navigate("https://www.google.com")
$ie.FullScreen = $true
...
0
votes
1
answer
116
views
Exception calling "CopyFolder" with "4" argument(s): "The 'destUrl' argument is invalid."
I'm trying to copy local drive folder to targeted folder in online one drive but getting above error.
Below is the code tried: -
#Load SharePoint CSOM Assemblies
Add-Type -Path "C:\Program Files\...
0
votes
1
answer
204
views
Run-SCCMClientAction : Connecting to remote server DD4 failed with the following error message
I am running below script on my system to perform all sccm client actions trigger and getting below error.
Run-SCCMClientAction : Connecting to remote server DD4 failed with the following error ...
1
vote
1
answer
928
views
Export-CSV column/row value as filename
I've got a bunch of csv files that each look like this:
DD-L-1_test.jaun.Csv
Parameter, Version, Status
OS, 21H2, Compliant
Chrome, 107.1.1, Compliant
DD-L-2_test.smith.Csv
Parameter, Version, Status
...
0
votes
1
answer
617
views
Form with Input Window, where a mechanism shall check if data has been entered
I need it to not close when user press enter or exit so that it mandate for user to make entry for all three box. I am new to powershell so I might be sounding akward but I can't find a good solution ...
0
votes
0
answers
2k
views
uninstalling the chrome using powershell script
I am trying to uninstall google chrome using powershell script but it shows me a popup to choose uninstall/cancel. How can i supress this by choosing uninstall button?
Set-Location 'path\to\my\chrome' ...
3
votes
1
answer
1k
views
How to get list of CLSIDs along with their associated COM Object names?
Searching for the ways to generate or get the list of CLSIDs, I found this link, that actually does it.
But it's rather incomplete in my opinion, the complete list would include CLSIDs with their ...
-1
votes
1
answer
66
views
How to add SAMAccount to results?
Stuck on how to add SAMAccounts (AD usernames) to the results, can anyone help?
Get-Mailbox -ResultSize Unlimited | Get-MailboxPermission | where
{$_.user.tostring() -ne "NT AUTHORITY\SELF" -and $_....