Set-LocalUser$i-Description ((Get-LocalUser$i).description).replace('IB','Kyn') }
Computer 3.1.0.0 Microsoft.PowerShell.Management Cmdlet Restart-Computer 3.1.0.0 Microsoft.PowerShell.Management Cmdlet Send-MailMessage 3.1.0.0 Microsoft.PowerShell.Utility Cmdlet Set-Service 3.1.0.0 Microsoft.PowerShell.Management Cmdlet Set-WmiInstance 3.1.0.0 Microsoft.PowerShell.Management Cmdlet Show-...
类型: UserIdParameter Position: Named 默认值: None 必需: False 接受管道输入: False 接受通配符: False 适用于: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019 -MailboxRegion 此参数仅在基于云的服务中可用。 {{ Fill MailboxRegion Description }} 展开表 类型...
Set-ADComputer -Identity "ComputerName" -Description "New Description" 信任关系管理 获取特定信任关系的详细信息: powershellCopy Code Get-ADTrust -Identity "TrustName" 更新信任关系: powershellCopy Code Set-ADTrust -Identity "TrustName" -Direction "Bidirectional" -TrustType "External" 计算机名管理 重...
DescriptionThe Set-User cmdlet contains no mail-related properties for mailboxes or mail users. To modify the mail-related properties for a user, you need to use the corresponding cmdlet based on the object type (for example, Set-Mailbox or Set-MailUser). You need to be assigned ...
Import-Csv -Path c:\userinfo.csv | foreach {Set-ADUser -Identity $_.name -DisplayName $_.DisplayName -initials $_.initials -description $_.description -office $_.office -officephone $_.officephone -mobilephone $_.mobilephone -fax $_.fax -company $_.company -department $_.department -...
7.3.9.500 FileDescription: pwsh Product: PowerShell ProductVersion: 7.3.9 SHA: 116d193ed28dcc6914653c799846bbf379cea0fb Debug: False Patched: False PreRelease: False PrivateBuild: False SpecialBuild: False Language: Language Neutral BaseName : pwsh ResolvedTarget : C:\Program Files\PowerShell\7\...
Set-LinkedUser [-Identity] <UserIdParameter> [-CertificateSubject <MultiValuedProperty>] [-Confirm] [-WhatIf] [<CommonParameters>] Description OLSync 服務帳戶是組織中唯一連結的使用者。 根據預設,此帳戶的名稱為 GALSync-ServiceAccount。 您必須已獲指派權限,才能執行此指令程式。 雖然本主題已列出這個指...
Name : Microsoft.WSMan.Management PSVersion : 2.0 Description : This Windows PowerShell snap-in contains cmdlets (such as Get-WSManInstance and Set-WSManInstance) that are used by the Windows PowerShell host to manage WSMan operations. Name : Microsoft.PowerShell.Core PSVersion : 2.0 ...
# 连接到 ftp服务器链接(被动链接)Set-FTPConnection-Credentials $FTPCre-Server $FTPConnect-UsePassive # 执行结果: # ContentLength:-1# Headers:{}# SupportsHeaders:True # ResponseUri:ftp://10.20.176.215:30021/# StatusCode:ClosingData # StatusDescription:226Directory sendOK.# LastModified:0001/1/10...